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.00147/0.00147, allocations: 100.1 kB / 15.88 MB, free: 12 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.0018/0.0018, allocations: 200 kB / 16.79 MB, free: 6.828 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.556/1.556, allocations: 222.9 MB / 240.5 MB, free: 4.531 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.335/2.335, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6813/0.6829, allocations: 140.3 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005/0.6879, allocations: 4.489 MB / 0.9539 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.6901, allocations: 2.717 MB / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.6902, allocations: 0 / 0.9566 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.6905, allocations: 43.06 kB / 0.9566 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.6908, allocations: 78.78 kB / 0.9567 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009927/0.6918, allocations: 458 kB / 0.9572 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.6921, allocations: 311.1 kB / 0.9574 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.6921, allocations: 8.312 kB / 0.9575 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/0.693, allocations: 401 kB / 0.9578 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.6932, allocations: 94.94 kB / 0.9579 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.6932, allocations: 3.906 kB / 0.9579 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/0.6941, allocations: 0.4917 MB / 0.9584 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.6942, allocations: 32.8 kB / 0.9584 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.6943, allocations: 75.59 kB / 0.9585 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.6947, allocations: 243.6 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6947, allocations: 5.312 kB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6947, allocations: 0 / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6947, allocations: 0 / 0.9588 GB, free: 2.02 MB / 0.7169 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.0006015/0.6953, allocations: 0.4923 MB / 0.9592 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6953, allocations: 9.406 kB / 0.9592 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.6955, allocations: 25.77 kB / 0.9593 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.6957, allocations: 212.5 kB / 0.9595 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.6957, allocations: 18.67 kB / 0.9595 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.6957, allocations: 19.28 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.6961, allocations: 244.7 kB / 0.9597 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6961, allocations: 0 / 0.9597 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.6961, allocations: 7.906 kB / 0.9597 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.6962, allocations: 12.73 kB / 0.9598 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.6966, allocations: 433.4 kB / 0.9602 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.6975, allocations: 0.9992 MB / 0.9611 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.6978, allocations: 161.8 kB / 0.9613 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.6979, allocations: 66.69 kB / 0.9614 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.6993, allocations: 1.83 MB / 0.9632 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6994, allocations: 37.06 kB / 0.9632 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.6994, allocations: 0 / 0.9632 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003369/0.6997, allocations: 143.2 kB / 0.9633 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6997, allocations: 58.09 kB / 0.9634 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.6999, allocations: 171.6 kB / 0.9635 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.6999, allocations: 31.36 kB / 0.9636 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.7, allocations: 138.6 kB / 0.9637 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.7001, allocations: 59.05 kB / 0.9638 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.7002, allocations: 48.27 kB / 0.9638 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7003, allocations: 330.8 kB / 0.9641 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.7004, allocations: 33.64 kB / 0.9642 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.7005, allocations: 136.5 kB / 0.9643 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.7008, allocations: 210.1 kB / 0.9645 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7008, allocations: 1.406 kB / 0.9645 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003449/0.7011, allocations: 211.9 kB / 0.9647 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7012, allocations: 7.688 kB / 0.9647 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7012, allocations: 4.562 kB / 0.9647 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7012, allocations: 4.781 kB / 0.9647 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.7014, allocations: 61.31 kB / 0.9648 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7014, allocations: 8.781 kB / 0.9648 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.7015, allocations: 29 kB / 0.9648 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.7016, allocations: 15.06 kB / 0.9648 GB, free: 12.27 MB / 0.7325 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.0001073/0.7017, allocations: 136.8 kB / 0.9649 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.7017, allocations: 15.25 kB / 0.965 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.7021, allocations: 159.6 kB / 0.9651 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.7021, allocations: 10.09 kB / 0.9651 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7021, allocations: 0 / 0.9651 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7021, allocations: 0 / 0.9651 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.7024, allocations: 218.3 kB / 0.9653 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7024, allocations: 0 / 0.9653 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.7025, allocations: 23.39 kB / 0.9654 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7025, allocations: 5.25 kB / 0.9654 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.7025, allocations: 9.766 kB / 0.9654 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.7025, allocations: 3.938 kB / 0.9654 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7025, allocations: 5.062 kB / 0.9654 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.7028, allocations: 216 kB / 0.9656 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.7029, allocations: 109.8 kB / 0.9657 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.7029, allocations: 5.266 kB / 0.9657 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.7032, allocations: 25.3 kB / 0.9657 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.7032, allocations: 8.953 kB / 0.9657 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.7032, allocations: 10.25 kB / 0.9657 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001036/0.7033, allocations: 123.5 kB / 0.9659 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7033, allocations: 0 / 0.9659 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004196/0.7038, allocations: 81.23 kB / 0.9659 GB, free: 11.32 MB / 0.7325 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.0003211/0.7041, allocations: 177.7 kB / 0.9661 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.7043, allocations: 121.7 kB / 0.9662 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7044, allocations: 0 / 0.9662 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.7044, allocations: 47.08 kB / 0.9663 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.7049, allocations: 53.42 kB / 0.9663 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007387/0.7057, allocations: 416.9 kB / 0.9667 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.706, allocations: 0.7164 MB / 0.9674 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.706, allocations: 27.81 kB / 0.9674 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.706, allocations: 0 / 0.9674 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.005421/0.7115, allocations: 3.127 MB / 0.9705 GB, free: 8.453 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches