Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 113.2 kB / 16.42 MB, free: 6.512 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.001181/0.001181, allocations: 191.8 kB / 17.35 MB, free: 5.754 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.7428 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 72.09 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6737, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002149/0.6759, allocations: 1.267 MB / 1.222 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.6795, allocations: 2.931 MB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.6796, allocations: 4 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.6796, allocations: 3.938 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.6796, allocations: 0 / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.6801, allocations: 99.53 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.6802, allocations: 43.84 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.6803, allocations: 0 / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.6808, allocations: 167.4 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.6808, allocations: 15.98 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.6808, allocations: 0 / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.681, allocations: 59.89 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.681, allocations: 15.91 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.6811, allocations: 15.94 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.6812, allocations: 71.64 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6812, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6813, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.6813, allocations: 0 / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003662/0.6816, allocations: 347.4 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6817, allocations: 8.031 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.6817, allocations: 4.938 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.6818, allocations: 166.2 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.6818, allocations: 4.375 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.6819, allocations: 8.281 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.682, allocations: 57.8 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.682, allocations: 0 / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.682, allocations: 4 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.682, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.6821, allocations: 23.92 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.6823, allocations: 169.6 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.6824, allocations: 54.61 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.6824, allocations: 16.86 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.683, allocations: 0.5986 MB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.6831, allocations: 34.5 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.6831, allocations: 0 / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0005448/0.6836, allocations: 302.8 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.6837, allocations: 55.41 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.6837, allocations: 105.8 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.6838, allocations: 29.7 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.6838, allocations: 91.97 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.6838, allocations: 19.72 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.6839, allocations: 29.7 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.684, allocations: 314.8 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.684, allocations: 19.92 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.6841, allocations: 53.14 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.6842, allocations: 77.03 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6842, allocations: 0 / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001347/0.6843, allocations: 97.45 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.6843, allocations: 4 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6843, allocations: 7.938 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6844, allocations: 0 / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.6844, allocations: 23.98 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6845, allocations: 0 / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.6845, allocations: 4 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.6845, allocations: 7.938 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 8.205e-05/0.6846, allocations: 126.4 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.6846, allocations: 4 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.6847, allocations: 11.95 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6847, allocations: 0 / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6847, allocations: 0 / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.6848, allocations: 85.02 kB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.6848, allocations: 3.938 kB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6849, allocations: 7.984 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.6849, allocations: 0 / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001603/0.6851, allocations: 153.2 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002212/0.6853, allocations: 258.8 kB / 1.229 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.626e-05/0.6854, allocations: 24.17 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.774e-05/0.6854, allocations: 75.28 kB / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of Backend: time 1.8e-07/0.6854, allocations: 0 / 1.229 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004299/0.6858, allocations: 140.9 kB / 1.229 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005952/0.6864, allocations: 0.7615 MB / 1.23 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of Templates: time 0.00346/0.6899, allocations: 0.9643 MB / 1.231 GB, free: 7.859 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches