Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.PropyleneGlycolWaterProperties,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.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 61.8 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3249, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007/0.332, allocations: 4.424 MB / 1.073 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00353/0.3356, allocations: 2.691 MB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.3357, allocations: 0 / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.3361, allocations: 51.67 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3364, allocations: 95.36 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3376, allocations: 490.3 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.3379, allocations: 235.9 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.3379, allocations: 21.53 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009612/0.3389, allocations: 410.8 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.339, allocations: 83.67 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.3391, allocations: 8 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009281/0.34, allocations: 0.4951 MB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3401, allocations: 35.89 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.3402, allocations: 79.66 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.3407, allocations: 347.4 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3407, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3407, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3407, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 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.0007629/0.3415, allocations: 0.4954 MB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3416, allocations: 12.03 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3417, allocations: 24.75 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.342, allocations: 212 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.342, allocations: 16.7 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.342, allocations: 12.38 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.3424, allocations: 249.1 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3424, allocations: 3.938 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.3425, allocations: 16 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.3425, allocations: 4 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.343, allocations: 431.5 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3442, allocations: 1.004 MB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.3445, allocations: 167 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3446, allocations: 68.88 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.346, allocations: 1.821 MB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.346, allocations: 38.55 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.346, allocations: 0 / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003417/0.3464, allocations: 149.4 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3464, allocations: 59.28 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3466, allocations: 173.1 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3466, allocations: 33.7 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.3467, allocations: 143.8 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.3467, allocations: 43.36 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.3468, allocations: 49.61 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3469, allocations: 326.8 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.347, allocations: 35.98 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3472, allocations: 142.7 kB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3475, allocations: 199 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3475, allocations: 0 / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003185/0.3478, allocations: 214.7 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3478, allocations: 13.7 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3478, allocations: 4 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3479, allocations: 4 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.348, allocations: 55.8 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3481, allocations: 8.406 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3482, allocations: 35.67 kB / 1.083 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3482, allocations: 19.98 kB / 1.083 GB, free: 9.992 MB / 0.8419 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 0.0001056/0.3483, allocations: 130.2 kB / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.3484, allocations: 11.91 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.3487, allocations: 162.8 kB / 1.084 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3487, allocations: 3.938 kB / 1.084 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3487, allocations: 4 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.3487, allocations: 3.984 kB / 1.084 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3489, allocations: 213.6 kB / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.349, allocations: 0 / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.3491, allocations: 31.92 kB / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3491, allocations: 0 / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3491, allocations: 0 / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3491, allocations: 7.938 kB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3491, allocations: 0 / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3493, allocations: 221.7 kB / 1.084 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.3494, allocations: 108.8 kB / 1.084 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3495, allocations: 4 kB / 1.084 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3497, allocations: 19.92 kB / 1.084 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.3497, allocations: 19.92 kB / 1.084 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3497, allocations: 8 kB / 1.084 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.953e-05/0.3498, allocations: 121.8 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3498, allocations: 0 / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003904/0.3502, allocations: 71.98 kB / 1.085 GB, free: 8.773 MB / 0.8419 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.0003606/0.3506, allocations: 183.1 kB / 1.085 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.3508, allocations: 123.7 kB / 1.085 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3509, allocations: 4.938 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.351, allocations: 47.91 kB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3514, allocations: 49.84 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.3521, allocations: 350.8 kB / 1.085 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3524, allocations: 0.7128 MB / 1.086 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.3526, allocations: 49.78 kB / 1.086 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.3526, allocations: 23.44 kB / 1.086 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3526, allocations: 0 / 1.086 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of Templates: time 0.00677/0.3594, allocations: 3.342 MB / 1.089 GB, free: 3.887 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches