Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007836/0.007836, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001125/0.001125, allocations: 197.7 kB / 16.67 MB, free: 5.906 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6648 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 62.31 kB / 0.9509 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3248, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007577/0.3324, allocations: 4.419 MB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003414/0.3359, allocations: 2.687 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.336, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3364, allocations: 55.66 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3368, allocations: 91.38 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3383, allocations: 0.5051 MB / 1.096 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.3387, allocations: 232 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.784e-05/0.3388, allocations: 13.56 kB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.3399, allocations: 416.3 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.3401, allocations: 91.66 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.3401, allocations: 8 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.3413, allocations: 499 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.3414, allocations: 31.89 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3415, allocations: 79.66 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.3423, allocations: 351.2 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3423, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3424, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3424, allocations: 7.922 kB / 1.097 GB, free: 7.973 MB / 0.8575 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.0009344/0.3433, allocations: 0.4992 MB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3434, allocations: 8.031 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.3436, allocations: 24.75 kB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.3439, allocations: 212.1 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3439, allocations: 16.7 kB / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.344, allocations: 20.36 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.3444, allocations: 253.1 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3444, allocations: 3.938 kB / 1.098 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.3444, allocations: 12 kB / 1.098 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.3444, allocations: 4 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.3449, allocations: 427.5 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3462, allocations: 1.011 MB / 1.1 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3465, allocations: 155 kB / 1.1 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3467, allocations: 68.88 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.3481, allocations: 1.813 MB / 1.102 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3481, allocations: 38.55 kB / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3481, allocations: 0 / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003651/0.3485, allocations: 141.4 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3486, allocations: 67.34 kB / 1.102 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3488, allocations: 167.3 kB / 1.102 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3488, allocations: 33.7 kB / 1.102 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.3489, allocations: 151.6 kB / 1.102 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3489, allocations: 43.36 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.349, allocations: 53.61 kB / 1.102 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3491, allocations: 326.8 kB / 1.103 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.3492, allocations: 35.98 kB / 1.103 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3494, allocations: 143.1 kB / 1.103 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3497, allocations: 208.2 kB / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3497, allocations: 0 / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003325/0.3501, allocations: 209.2 kB / 1.103 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3501, allocations: 7.984 kB / 1.103 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3501, allocations: 4 kB / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3501, allocations: 8.469 kB / 1.103 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3503, allocations: 55.86 kB / 1.103 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3503, allocations: 11.94 kB / 1.103 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3504, allocations: 23.75 kB / 1.103 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3505, allocations: 19.98 kB / 1.103 GB, free: 1.012 MB / 0.8575 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.0001045/0.3506, allocations: 129.7 kB / 1.103 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.3506, allocations: 15.81 kB / 1.103 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.3509, allocations: 157 kB / 1.104 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3509, allocations: 3.938 kB / 1.104 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.351, allocations: 0 / 1.104 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.351, allocations: 11.92 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3512, allocations: 213.5 kB / 1.104 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3512, allocations: 4 kB / 1.104 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-05/0.3513, allocations: 23.98 kB / 1.104 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3513, allocations: 7.984 kB / 1.104 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.3514, allocations: 0 / 1.104 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3514, allocations: 3.938 kB / 1.104 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3514, allocations: 4 kB / 1.104 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3516, allocations: 231.2 kB / 1.104 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3517, allocations: 108.8 kB / 1.104 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3518, allocations: 3.984 kB / 1.104 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.352, allocations: 19.92 kB / 1.104 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.352, allocations: 7.984 kB / 1.104 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.352, allocations: 12 kB / 1.104 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001381/0.3522, allocations: 124.9 kB / 1.104 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3522, allocations: 0 / 1.104 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004686/0.3527, allocations: 75.98 kB / 1.104 GB, free: 15.79 MB / 0.8731 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.0004498/0.3531, allocations: 183.5 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.3535, allocations: 119.2 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3535, allocations: 0 / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.3536, allocations: 43.98 kB / 1.105 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.3541, allocations: 53.52 kB / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3551, allocations: 342.9 kB / 1.105 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.3557, allocations: 0.7089 MB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.3559, allocations: 49.73 kB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.356, allocations: 27.42 kB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.356, allocations: 0 / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.006806/0.3628, allocations: 3.36 MB / 1.109 GB, free: 10.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches