Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007677/0.007677, allocations: 101.6 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 187.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.862/2.862, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.91 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01459/0.3456, allocations: 12.97 MB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3483, allocations: 2.679 MB / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.3484, allocations: 0 / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3487, allocations: 47.67 kB / 1.223 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.349, allocations: 95.36 kB / 1.223 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3501, allocations: 0.5154 MB / 1.224 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.3503, allocations: 228 kB / 1.224 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.3504, allocations: 17.48 kB / 1.224 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007854/0.3582, allocations: 3.589 MB / 1.227 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3584, allocations: 83.67 kB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.3585, allocations: 8 kB / 1.228 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.3608, allocations: 1.077 MB / 1.229 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.3609, allocations: 43.88 kB / 1.229 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.361, allocations: 75.66 kB / 1.229 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.3616, allocations: 367 kB / 1.229 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3616, allocations: 0 / 1.229 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3616, allocations: 0 / 1.229 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3616, allocations: 0 / 1.229 GB, free: 3.715 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007123/0.3623, allocations: 0.5031 MB / 1.23 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3624, allocations: 8.625 kB / 1.23 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3626, allocations: 24.75 kB / 1.23 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3628, allocations: 220 kB / 1.23 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3629, allocations: 16.64 kB / 1.23 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3629, allocations: 20.36 kB / 1.23 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.3633, allocations: 248.2 kB / 1.23 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3633, allocations: 0 / 1.23 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.3633, allocations: 8 kB / 1.23 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.3634, allocations: 11.94 kB / 1.23 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.3638, allocations: 427.5 kB / 1.23 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3649, allocations: 0.9566 MB / 1.231 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3652, allocations: 163 kB / 1.232 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3653, allocations: 64.88 kB / 1.232 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.3665, allocations: 1.837 MB / 1.233 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3665, allocations: 34.56 kB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3666, allocations: 0 / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003263/0.3669, allocations: 147 kB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3669, allocations: 59.34 kB / 1.234 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3671, allocations: 163.3 kB / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3671, allocations: 33.7 kB / 1.234 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.3672, allocations: 143.7 kB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3672, allocations: 47.28 kB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.3673, allocations: 57.61 kB / 1.234 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.3674, allocations: 326.8 kB / 1.234 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.3675, allocations: 35.92 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3676, allocations: 139.5 kB / 1.235 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3678, allocations: 204.2 kB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3678, allocations: 3.938 kB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003053/0.3682, allocations: 213.2 kB / 1.235 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3682, allocations: 8 kB / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3682, allocations: 0 / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3682, allocations: 11.94 kB / 1.235 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3684, allocations: 55.84 kB / 1.235 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3684, allocations: 4 kB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3685, allocations: 28.16 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3685, allocations: 20 kB / 1.235 GB, free: 12.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.452e-05/0.3686, allocations: 129.7 kB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.3687, allocations: 19.8 kB / 1.235 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.369, allocations: 154.9 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.369, allocations: 3.938 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.369, allocations: 4 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.369, allocations: 0 / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.3693, allocations: 217.5 kB / 1.236 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3693, allocations: 4 kB / 1.236 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.3694, allocations: 31.92 kB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3694, allocations: 0 / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3694, allocations: 0 / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3694, allocations: 7.938 kB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3694, allocations: 3.938 kB / 1.236 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3696, allocations: 218.2 kB / 1.236 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.3697, allocations: 108.9 kB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3698, allocations: 16 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.37, allocations: 15.92 kB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.37, allocations: 11.98 kB / 1.236 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.37, allocations: 8 kB / 1.236 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.056e-05/0.3701, allocations: 124.9 kB / 1.236 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.462e-06/0.3701, allocations: 0 / 1.236 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003704/0.3705, allocations: 83.88 kB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002812/0.3708, allocations: 191 kB / 1.236 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.371, allocations: 120.5 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.371, allocations: 8.125 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.3711, allocations: 43.92 kB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3716, allocations: 47.94 kB / 1.237 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.3722, allocations: 334.9 kB / 1.237 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3725, allocations: 0.7207 MB / 1.238 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.3726, allocations: 45.73 kB / 1.238 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3727, allocations: 31.44 kB / 1.238 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3727, allocations: 3.938 kB / 1.238 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of Templates: time 0.007058/0.3798, allocations: 3.637 MB / 1.241 GB, free: 6.371 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches