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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.006115/0.006115, allocations: 103 kB / 15.73 MB, free: 6.035 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.001061/0.001061, allocations: 201.2 kB / 16.68 MB, free: 5.957 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.558/1.558, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 73.03 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3206, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006509/0.3271, allocations: 4.43 MB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3299, allocations: 2.683 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.33, allocations: 7.875 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.3302, allocations: 51.67 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3305, allocations: 91.42 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.3315, allocations: 491.1 kB / 1.096 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.3318, allocations: 243.9 kB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3318, allocations: 17.56 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.3327, allocations: 410.8 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3328, allocations: 87.61 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.3329, allocations: 8 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/0.3337, allocations: 499 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.3338, allocations: 31.89 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.3339, allocations: 83.59 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.3344, allocations: 355.2 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3344, allocations: 0 / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3344, allocations: 0 / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3345, allocations: 0 / 1.097 GB, free: 7.996 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.000703/0.3352, allocations: 0.4992 MB / 1.098 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3352, allocations: 12.03 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.3354, allocations: 20.75 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3356, allocations: 212.1 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3356, allocations: 16.7 kB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3357, allocations: 16.38 kB / 1.098 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.336, allocations: 249 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3361, allocations: 0 / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.3361, allocations: 11.98 kB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.3361, allocations: 8 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.3366, allocations: 435.4 kB / 1.099 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3376, allocations: 1.015 MB / 1.1 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3379, allocations: 156.1 kB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.338, allocations: 60.88 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.3393, allocations: 1.817 MB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3394, allocations: 42.5 kB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3394, allocations: 0 / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003131/0.3397, allocations: 137.4 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.3397, allocations: 59.34 kB / 1.102 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3399, allocations: 171.3 kB / 1.102 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3399, allocations: 33.7 kB / 1.102 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.34, allocations: 143.7 kB / 1.102 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.34, allocations: 51.36 kB / 1.102 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.3401, allocations: 53.59 kB / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3402, allocations: 330.8 kB / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.3403, allocations: 39.98 kB / 1.103 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3404, allocations: 143.1 kB / 1.103 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.3407, allocations: 195.4 kB / 1.103 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3407, allocations: 4 kB / 1.103 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003193/0.341, allocations: 221.4 kB / 1.103 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.341, allocations: 8 kB / 1.103 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.341, allocations: 4 kB / 1.103 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3411, allocations: 4 kB / 1.103 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3412, allocations: 55.86 kB / 1.103 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3412, allocations: 4 kB / 1.103 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3414, allocations: 23.75 kB / 1.103 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3414, allocations: 15.98 kB / 1.103 GB, free: 1.043 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.0001002/0.3415, allocations: 137.9 kB / 1.103 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.3415, allocations: 19.8 kB / 1.103 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.3418, allocations: 166 kB / 1.104 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3418, allocations: 3.938 kB / 1.104 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3419, allocations: 4 kB / 1.104 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3419, allocations: 3.984 kB / 1.104 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3421, allocations: 209.6 kB / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3421, allocations: 0 / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.3422, allocations: 23.98 kB / 1.104 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3422, allocations: 0 / 1.104 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3422, allocations: 8 kB / 1.104 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3422, allocations: 7.875 kB / 1.104 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3422, allocations: 4 kB / 1.104 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3425, allocations: 219.3 kB / 1.104 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.3425, allocations: 108.8 kB / 1.104 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3426, allocations: 0 / 1.104 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.3428, allocations: 19.92 kB / 1.104 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.3428, allocations: 15.98 kB / 1.104 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3429, allocations: 8 kB / 1.104 GB, free: 12 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.343, allocations: 128.9 kB / 1.104 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.343, allocations: 0 / 1.104 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003476/0.3433, allocations: 72 kB / 1.104 GB, free: 15.82 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.0002839/0.3436, allocations: 187.5 kB / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3438, allocations: 115.8 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3438, allocations: 0 / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.3439, allocations: 43.92 kB / 1.105 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3443, allocations: 58.55 kB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.3449, allocations: 342.8 kB / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3452, allocations: 0.7168 MB / 1.106 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000135/0.3454, allocations: 45.69 kB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.3454, allocations: 31.42 kB / 1.106 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.3454, allocations: 0 / 1.106 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.006357/0.3518, allocations: 3.32 MB / 1.109 GB, free: 10.95 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