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.001125/0.001125, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001086/0.001086, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 74.55 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2504, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007317/0.2577, allocations: 4.433 MB / 0.9554 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.261, allocations: 2.691 MB / 0.9581 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.2611, allocations: 4 kB / 0.9581 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.2615, allocations: 43.69 kB / 0.9581 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.262, allocations: 99.34 kB / 0.9582 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.2638, allocations: 493.2 kB / 0.9587 GB, free: 304 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.2642, allocations: 235.9 kB / 0.9589 GB, free: 68 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.2642, allocations: 17.55 kB / 0.9589 GB, free: 48 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009955/0.2652, allocations: 410.8 kB / 0.9593 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2654, allocations: 95.59 kB / 0.9594 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.2654, allocations: 8 kB / 0.9594 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.2665, allocations: 495.1 kB / 0.9599 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.2666, allocations: 35.89 kB / 0.9599 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2668, allocations: 79.64 kB / 0.96 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.2676, allocations: 351 kB / 0.9603 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2676, allocations: 0 / 0.9603 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2676, allocations: 0 / 0.9603 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.2676, allocations: 0 / 0.9603 GB, free: 14.6 MB / 0.7481 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.001136/0.2688, allocations: 0.5031 MB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.2688, allocations: 12.03 kB / 0.9608 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.2691, allocations: 24.73 kB / 0.9609 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.2696, allocations: 200.2 kB / 0.961 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.2697, allocations: 12.7 kB / 0.9611 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2697, allocations: 16.38 kB / 0.9611 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2702, allocations: 257 kB / 0.9613 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.2703, allocations: 0 / 0.9613 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2703, allocations: 8 kB / 0.9613 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.2704, allocations: 11.98 kB / 0.9613 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.271, allocations: 431.5 kB / 0.9618 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2724, allocations: 1.007 MB / 0.9627 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.2728, allocations: 158.8 kB / 0.9629 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.2729, allocations: 64.81 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/0.2745, allocations: 1.825 MB / 0.9647 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2745, allocations: 34.56 kB / 0.9648 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.2745, allocations: 0 / 0.9648 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0003525/0.2749, allocations: 151.9 kB / 0.9649 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.275, allocations: 55.34 kB / 0.965 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2751, allocations: 175.3 kB / 0.9651 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2752, allocations: 29.7 kB / 0.9652 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.2753, allocations: 139.8 kB / 0.9653 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.2753, allocations: 51.27 kB / 0.9653 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.2754, allocations: 53.61 kB / 0.9654 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2755, allocations: 326.8 kB / 0.9657 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.2756, allocations: 35.98 kB / 0.9657 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2757, allocations: 138.2 kB / 0.9659 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.276, allocations: 201.4 kB / 0.9661 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.276, allocations: 4 kB / 0.9661 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003428/0.2763, allocations: 212.1 kB / 0.9663 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2764, allocations: 8 kB / 0.9663 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2764, allocations: 11.98 kB / 0.9663 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2764, allocations: 4 kB / 0.9663 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2766, allocations: 59.84 kB / 0.9663 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2766, allocations: 8.469 kB / 0.9664 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2767, allocations: 31.69 kB / 0.9664 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.2768, allocations: 8 kB / 0.9664 GB, free: 7.652 MB / 0.7481 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.0001307/0.2769, allocations: 141.7 kB / 0.9665 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.277, allocations: 15.81 kB / 0.9665 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.2773, allocations: 158.8 kB / 0.9667 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.2773, allocations: 7.938 kB / 0.9667 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2773, allocations: 0 / 0.9667 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2773, allocations: 0 / 0.9667 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.2776, allocations: 217.5 kB / 0.9669 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2776, allocations: 4 kB / 0.9669 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.2777, allocations: 23.98 kB / 0.9669 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2777, allocations: 0 / 0.9669 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2777, allocations: 8 kB / 0.9669 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2777, allocations: 3.938 kB / 0.9669 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2777, allocations: 0 / 0.9669 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.278, allocations: 223.3 kB / 0.9672 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.2781, allocations: 104.9 kB / 0.9673 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2781, allocations: 11.98 kB / 0.9673 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2783, allocations: 19.92 kB / 0.9673 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.2784, allocations: 4 kB / 0.9673 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.2784, allocations: 11.98 kB / 0.9673 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.2785, allocations: 124.9 kB / 0.9674 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 0.9674 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003944/0.2789, allocations: 79.98 kB / 0.9675 GB, free: 6.418 MB / 0.7481 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.0003295/0.2792, allocations: 179 kB / 0.9677 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2795, allocations: 122.2 kB / 0.9678 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.2795, allocations: 4 kB / 0.9678 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.2796, allocations: 44.86 kB / 0.9678 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.28, allocations: 59.8 kB / 0.9679 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.2808, allocations: 335 kB / 0.9682 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2811, allocations: 0.709 MB / 0.9689 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.2812, allocations: 49.73 kB / 0.969 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.2813, allocations: 23.44 kB / 0.969 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.2813, allocations: 3.938 kB / 0.969 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of Templates: time 0.006961/0.2883, allocations: 3.327 MB / 0.9722 GB, free: 1.562 MB / 0.7481 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 -s gbode -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