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.001502/0.001502, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001332/0.001332, allocations: 190 kB / 16.25 MB, free: 6.625 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.394/2.394, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7428, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005338/0.7482, allocations: 4.473 MB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.7506, allocations: 2.681 MB / 0.9561 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.7507, allocations: 1.125 kB / 0.9561 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.751, allocations: 38.67 kB / 0.9561 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.7513, allocations: 86.92 kB / 0.9562 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.7524, allocations: 465.9 kB / 0.9566 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.7527, allocations: 230.7 kB / 0.9568 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.7527, allocations: 8.938 kB / 0.9569 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009911/0.7537, allocations: 411.8 kB / 0.9572 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.7539, allocations: 98.8 kB / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.7539, allocations: 7.344 kB / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.7549, allocations: 0.4914 MB / 0.9578 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.755, allocations: 37.22 kB / 0.9579 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.7551, allocations: 75.72 kB / 0.9579 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.7557, allocations: 359.9 kB / 0.9583 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7557, allocations: 4 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7557, allocations: 4 kB / 0.9583 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7557, allocations: 1.375 kB / 0.9583 GB, free: 2.09 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.0007235/0.7564, allocations: 496.1 kB / 0.9588 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7565, allocations: 9.625 kB / 0.9588 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.7567, allocations: 25.2 kB / 0.9588 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.7569, allocations: 212.4 kB / 0.959 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.7569, allocations: 11.58 kB / 0.959 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.7569, allocations: 17.98 kB / 0.959 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.7572, allocations: 256.2 kB / 0.9593 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7573, allocations: 1.344 kB / 0.9593 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.7573, allocations: 6.125 kB / 0.9593 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.7573, allocations: 9.672 kB / 0.9593 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.7578, allocations: 429.2 kB / 0.9597 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.7588, allocations: 0.9998 MB / 0.9607 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.7591, allocations: 170.6 kB / 0.9608 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.7592, allocations: 63.28 kB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.7606, allocations: 1.826 MB / 0.9627 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.7607, allocations: 40.75 kB / 0.9627 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.7607, allocations: 0 / 0.9627 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003893/0.7611, allocations: 139.5 kB / 0.9628 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.7611, allocations: 57.31 kB / 0.9629 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.7613, allocations: 171.7 kB / 0.9631 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.7614, allocations: 31.86 kB / 0.9631 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.7615, allocations: 143.3 kB / 0.9632 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.7615, allocations: 58.16 kB / 0.9633 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.7616, allocations: 52.48 kB / 0.9633 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7618, allocations: 326.6 kB / 0.9637 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.7618, allocations: 33.73 kB / 0.9637 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.762, allocations: 139.3 kB / 0.9638 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.7622, allocations: 202.8 kB / 0.964 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.7623, allocations: 1.281 kB / 0.964 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003298/0.7626, allocations: 216.9 kB / 0.9642 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7626, allocations: 11.06 kB / 0.9642 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7626, allocations: 3.469 kB / 0.9642 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7627, allocations: 6.406 kB / 0.9642 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.7628, allocations: 60.03 kB / 0.9643 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.7629, allocations: 12.73 kB / 0.9643 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.763, allocations: 25.53 kB / 0.9643 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.763, allocations: 14.12 kB / 0.9643 GB, free: 12.34 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.000118/0.7631, allocations: 128.8 kB / 0.9645 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.7632, allocations: 24.7 kB / 0.9645 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.7635, allocations: 159 kB / 0.9646 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.7636, allocations: 5.25 kB / 0.9646 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7636, allocations: 1.312 kB / 0.9646 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7636, allocations: 3.938 kB / 0.9647 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.7638, allocations: 217.5 kB / 0.9649 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7639, allocations: 0 / 0.9649 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.764, allocations: 31.98 kB / 0.9649 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.764, allocations: 0 / 0.9649 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.764, allocations: 6.375 kB / 0.9649 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.764, allocations: 12.97 kB / 0.9649 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.764, allocations: 0 / 0.9649 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.7643, allocations: 213.2 kB / 0.9651 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.7644, allocations: 104.7 kB / 0.9652 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.7644, allocations: 9.078 kB / 0.9652 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.7646, allocations: 17.14 kB / 0.9652 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.7647, allocations: 16.77 kB / 0.9653 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.7647, allocations: 7.312 kB / 0.9653 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.73e-05/0.7648, allocations: 123.2 kB / 0.9654 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7648, allocations: 3.938 kB / 0.9654 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004116/0.7652, allocations: 81.45 kB / 0.9655 GB, free: 11.39 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.0004189/0.7656, allocations: 177.3 kB / 0.9656 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.7659, allocations: 127.5 kB / 0.9657 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7659, allocations: 0 / 0.9657 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.766, allocations: 48.08 kB / 0.9658 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.7665, allocations: 56.11 kB / 0.9658 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.7672, allocations: 399.6 kB / 0.9662 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.7675, allocations: 0.716 MB / 0.9669 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.7677, allocations: 44.45 kB / 0.967 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.7678, allocations: 25.39 kB / 0.967 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7678, allocations: 4 kB / 0.967 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.007312/0.7751, allocations: 3.32 MB / 0.9702 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches