Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 217.7 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.235/3.235, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.05 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002592/0.3487, allocations: 1.278 MB / 1.346 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.3528, allocations: 3.071 MB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.3528, allocations: 0 / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.3528, allocations: 7.984 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.3529, allocations: 7.922 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.3534, allocations: 107.5 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.3535, allocations: 31.86 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.3536, allocations: 8 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.3536, allocations: 15.97 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.3537, allocations: 19.92 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3537, allocations: 0 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.3539, allocations: 71.81 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3539, allocations: 7.984 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3539, allocations: 11.94 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3541, allocations: 72.02 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3541, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3541, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3541, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003831/0.3545, allocations: 270.3 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3545, allocations: 12.03 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.3546, allocations: 192 / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.3546, allocations: 42.69 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.3547, allocations: 4.922 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3548, allocations: 114.5 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3548, allocations: 384 / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3548, allocations: 12.08 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.355, allocations: 134.7 kB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.355, allocations: 0 / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.355, allocations: 4 kB / 1.35 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.355, allocations: 3.984 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.736e-05/0.3551, allocations: 23.92 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3552, allocations: 140.7 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3553, allocations: 42.56 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.3554, allocations: 20.78 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/0.3559, allocations: 245.9 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3559, allocations: 30.56 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3559, allocations: 0 / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005449/0.3565, allocations: 225.5 kB / 1.351 GB, free: 9.723 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.3565, allocations: 51.41 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.3566, allocations: 109.8 kB / 1.351 GB, free: 9.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3566, allocations: 29.7 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.3567, allocations: 88.09 kB / 1.351 GB, free: 9.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.3567, allocations: 31.73 kB / 1.351 GB, free: 9.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3567, allocations: 21.72 kB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3569, allocations: 318.8 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.3569, allocations: 12 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.357, allocations: 61.02 kB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3571, allocations: 77.08 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3571, allocations: 0 / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001467/0.3572, allocations: 101.5 kB / 1.352 GB, free: 8.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3572, allocations: 4 kB / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3572, allocations: 448 / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3573, allocations: 4 kB / 1.352 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.3573, allocations: 19.94 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3573, allocations: 15.86 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.3574, allocations: 4.125 kB / 1.352 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3574, allocations: 12 kB / 1.352 GB, free: 8.691 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.3575, allocations: 113.8 kB / 1.352 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3575, allocations: 4 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.3575, allocations: 8.062 kB / 1.352 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3576, allocations: 0 / 1.352 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3576, allocations: 3.938 kB / 1.352 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3576, allocations: 4.219 kB / 1.352 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3578, allocations: 140.7 kB / 1.352 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3578, allocations: 0 / 1.352 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.3579, allocations: 19.94 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3579, allocations: 7.984 kB / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3579, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3579, allocations: 0 / 1.352 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3579, allocations: 3.938 kB / 1.352 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.3581, allocations: 179.5 kB / 1.352 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.3581, allocations: 8.031 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3582, allocations: 0 / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3583, allocations: 4 kB / 1.353 GB, free: 8.129 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3583, allocations: 7.922 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3583, allocations: 8 kB / 1.353 GB, free: 8.113 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.3583, allocations: 79.28 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3583, allocations: 0 / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002369/0.3586, allocations: 16 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005386/0.3591, allocations: 0.7008 MB / 1.353 GB, free: 7.293 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3592, allocations: 48.02 kB / 1.353 GB, free: 7.246 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3592, allocations: 0 / 1.353 GB, free: 7.246 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.3593, allocations: 19.92 kB / 1.353 GB, free: 7.227 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3596, allocations: 12.19 kB / 1.353 GB, free: 7.215 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3613, allocations: 1.536 MB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.3614, allocations: 67.34 kB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.3614, allocations: 15.81 kB / 1.355 GB, free: 5.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.3615, allocations: 15.44 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3615, allocations: 0 / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.3852, allocations: 1.877 MB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.14, allocations: 10.59 kB / 1.357 GB, free: 3.73 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.792221367941238]