Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_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_10_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.001515/0.001515, allocations: 109.6 kB / 16.42 MB, free: 6.484 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.001688/0.001688, allocations: 190.7 kB / 17.35 MB, free: 5.707 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7011, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002053/0.7032, allocations: 1.275 MB / 1.169 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.7066, allocations: 2.936 MB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.7066, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.7067, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.7067, allocations: 7.922 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.7072, allocations: 103.5 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.7072, allocations: 35.92 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.7073, allocations: 4 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.7077, allocations: 151.5 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.7077, allocations: 19.92 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.7077, allocations: 0 / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.7079, allocations: 71.81 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.7079, allocations: 11.98 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.708, allocations: 15.94 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.7081, allocations: 67.36 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7081, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7081, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.7081, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 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.000348/0.7085, allocations: 340.4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7086, allocations: 8.922 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.7086, allocations: 8.922 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.7087, allocations: 172.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.7087, allocations: 8.312 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.7087, allocations: 12.33 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.7089, allocations: 53.8 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7089, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7089, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.7089, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.7089, allocations: 19.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.7091, allocations: 169.6 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.7092, allocations: 54.5 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.7092, allocations: 16.86 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.7098, allocations: 0.5946 MB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.7099, allocations: 30.56 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.7099, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0005248/0.7104, allocations: 306.6 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.7105, allocations: 55.41 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.7105, allocations: 101.8 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7105, allocations: 29.7 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.7106, allocations: 88.03 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.7106, allocations: 31.73 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.7107, allocations: 33.66 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.7107, allocations: 314.8 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.7108, allocations: 15.98 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.7108, allocations: 53.08 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.7109, allocations: 77.27 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.7109, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.7111, allocations: 97.5 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.7111, allocations: 8 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7111, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7111, allocations: 4.125 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.7112, allocations: 28.36 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.7112, allocations: 0 / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.7112, allocations: 8 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.7113, allocations: 7.938 kB / 1.174 GB, free: 12.06 MB / 0.9044 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 6.614e-05/0.7113, allocations: 109.8 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.7114, allocations: 11.98 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.7114, allocations: 7.969 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7114, allocations: 3.938 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7114, allocations: 4 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.7115, allocations: 85.06 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.7115, allocations: 7.922 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7116, allocations: 4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.7116, allocations: 7.938 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001547/0.7118, allocations: 144.9 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001941/0.712, allocations: 266.8 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.223e-05/0.712, allocations: 16.03 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.626e-05/0.7121, allocations: 75.28 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of Backend: time 3.41e-07/0.7121, allocations: 4 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.7125, allocations: 142.3 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005858/0.7131, allocations: 0.7657 MB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.003124/0.7162, allocations: 0.9518 MB / 1.177 GB, free: 9.363 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches