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.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001694/0.001694, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.512 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.346/2.346, allocations: 390.2 MB / 0.6642 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 67.91 kB / 0.8118 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7578, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004975/0.7629, allocations: 4.476 MB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.7651, allocations: 2.715 MB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.7652, allocations: 1.406 kB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.7654, allocations: 38.77 kB / 0.956 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.7656, allocations: 86.86 kB / 0.956 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.7666, allocations: 453.6 kB / 0.9565 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.7669, allocations: 314.7 kB / 0.9568 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.7669, allocations: 9.562 kB / 0.9568 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.7679, allocations: 396.5 kB / 0.9572 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.768, allocations: 95.41 kB / 0.9573 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.768, allocations: 9.688 kB / 0.9573 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009228/0.769, allocations: 0.4923 MB / 0.9577 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.769, allocations: 38.03 kB / 0.9578 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.7691, allocations: 74.03 kB / 0.9579 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.7696, allocations: 359.1 kB / 0.9582 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7696, allocations: 4 kB / 0.9582 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7696, allocations: 0 / 0.9582 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.7697, allocations: 0 / 0.9582 GB, free: 2.012 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.0005704/0.7702, allocations: 0.4962 MB / 0.9587 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7703, allocations: 9.5 kB / 0.9587 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.7704, allocations: 21.91 kB / 0.9587 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.7706, allocations: 207.8 kB / 0.9589 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.7706, allocations: 12.2 kB / 0.9589 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.7706, allocations: 18.47 kB / 0.9589 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.771, allocations: 256.3 kB / 0.9592 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.771, allocations: 0 / 0.9592 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.771, allocations: 7.562 kB / 0.9592 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.7711, allocations: 4.875 kB / 0.9592 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.7716, allocations: 433.6 kB / 0.9596 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.7725, allocations: 1.007 MB / 0.9606 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.7729, allocations: 165.5 kB / 0.9608 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.773, allocations: 63.16 kB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/0.7747, allocations: 1.822 MB / 0.9626 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.7748, allocations: 40.75 kB / 0.9626 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.7748, allocations: 1.125 kB / 0.9626 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003909/0.7752, allocations: 148 kB / 0.9628 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.7753, allocations: 57.53 kB / 0.9628 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.7755, allocations: 167.6 kB / 0.963 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.7755, allocations: 31.73 kB / 0.963 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.7756, allocations: 138.9 kB / 0.9631 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.7757, allocations: 54.83 kB / 0.9632 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.7758, allocations: 52.42 kB / 0.9633 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.776, allocations: 322.2 kB / 0.9636 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.7761, allocations: 37.12 kB / 0.9636 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.7763, allocations: 141.6 kB / 0.9637 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.7766, allocations: 196.7 kB / 0.9639 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7766, allocations: 1.312 kB / 0.9639 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003542/0.7769, allocations: 220.9 kB / 0.9641 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.777, allocations: 6 kB / 0.9641 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.777, allocations: 8.453 kB / 0.9641 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.777, allocations: 4.938 kB / 0.9641 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.7772, allocations: 56.61 kB / 0.9642 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.7772, allocations: 12.3 kB / 0.9642 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.7773, allocations: 29.53 kB / 0.9642 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.7774, allocations: 11.38 kB / 0.9643 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.0001791/0.7776, allocations: 139.8 kB / 0.9644 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.7776, allocations: 16.25 kB / 0.9644 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.778, allocations: 168.2 kB / 0.9646 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.778, allocations: 12.5 kB / 0.9646 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.778, allocations: 0 / 0.9646 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.778, allocations: 0 / 0.9646 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.7783, allocations: 215.3 kB / 0.9648 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7783, allocations: 0 / 0.9648 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.7784, allocations: 23.92 kB / 0.9648 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7784, allocations: 0 / 0.9648 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.7784, allocations: 10.31 kB / 0.9648 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7784, allocations: 5 kB / 0.9648 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7784, allocations: 3.984 kB / 0.9648 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.7787, allocations: 213.2 kB / 0.965 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.7788, allocations: 116.6 kB / 0.9651 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.7789, allocations: 1.281 kB / 0.9651 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.7791, allocations: 25.2 kB / 0.9652 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.7791, allocations: 9.141 kB / 0.9652 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.7792, allocations: 14.11 kB / 0.9652 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001149/0.7793, allocations: 119.7 kB / 0.9653 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7793, allocations: 0 / 0.9653 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004319/0.7797, allocations: 82.5 kB / 0.9654 GB, free: 11.31 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.0003937/0.7801, allocations: 172.3 kB / 0.9655 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.7804, allocations: 123.5 kB / 0.9657 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7804, allocations: 0 / 0.9657 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.7805, allocations: 49.09 kB / 0.9657 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.781, allocations: 52.97 kB / 0.9658 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.7817, allocations: 401.1 kB / 0.9661 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.782, allocations: 0.7134 MB / 0.9668 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.7822, allocations: 48.7 kB / 0.9669 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.7823, allocations: 24.56 kB / 0.9669 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7823, allocations: 1.062 kB / 0.9669 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.007277/0.7896, allocations: 3.224 MB / 0.9701 GB, free: 8.434 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches