Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9713/0.9713, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.968/1.968, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.788e-05, allocations: 3.312 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001873/0.001901, allocations: 1.319 MB / 0.8132 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.004836, allocations: 2.983 MB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.004867, allocations: 0 / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.004883, allocations: 4 kB / 0.8162 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.004924, allocations: 9.25 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.005363, allocations: 105.2 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.00543, allocations: 39.84 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.792e-05/0.005458, allocations: 3.984 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.005904, allocations: 188.5 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.005937, allocations: 15.91 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.005948, allocations: 7.938 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.006049, allocations: 49.73 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.006062, allocations: 11.98 kB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.00608, allocations: 11.98 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.006209, allocations: 63.8 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006211, allocations: 0 / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006212, allocations: 0.5312 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.006215, allocations: 4.5 kB / 0.8167 GB, free: 12.68 MB / 0.7761 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.0003211/0.006536, allocations: 374 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.006571, allocations: 8.031 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.006604, allocations: 13.23 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.904e-05/0.006663, allocations: 108.6 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.006673, allocations: 6.938 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.006692, allocations: 8.375 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.006798, allocations: 123.3 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006806, allocations: 192 / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.006815, allocations: 8.125 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006821, allocations: 0 / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.006849, allocations: 19.91 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.006956, allocations: 106.3 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.69e-05/0.007013, allocations: 51.11 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.007028, allocations: 19.67 kB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/0.007415, allocations: 297.4 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.007435, allocations: 37.92 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.007436, allocations: 0 / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003686/0.007805, allocations: 226.5 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.007831, allocations: 55.09 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.007894, allocations: 161.9 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.007906, allocations: 33.7 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.007955, allocations: 130.8 kB / 0.8184 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.007971, allocations: 31.73 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.008003, allocations: 31.36 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.008115, allocations: 496.1 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.008127, allocations: 4 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.008172, allocations: 70.03 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.008234, allocations: 91.91 kB / 0.8191 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008236, allocations: 0 / 0.8191 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.863e-05/0.008334, allocations: 90.69 kB / 0.8191 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.008348, allocations: 13.08 kB / 0.8191 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008353, allocations: 0 / 0.8191 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.008367, allocations: 4 kB / 0.8192 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.008419, allocations: 17.12 kB / 0.8192 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.008423, allocations: 7.938 kB / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.008443, allocations: 448 / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.00845, allocations: 5.094 kB / 0.8192 GB, free: 9.789 MB / 0.7761 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.544e-05/0.008515, allocations: 164.6 kB / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.008535, allocations: 8.75 kB / 0.8193 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.008565, allocations: 8.125 kB / 0.8194 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008567, allocations: 5.844 kB / 0.8194 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008569, allocations: 3.938 kB / 0.8194 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008572, allocations: 0 / 0.8194 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.008717, allocations: 113.2 kB / 0.8195 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008718, allocations: 0 / 0.8195 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.008765, allocations: 25.27 kB / 0.8195 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.008769, allocations: 3.938 kB / 0.8195 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.008778, allocations: 4 kB / 0.8195 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008778, allocations: 0 / 0.8195 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.00878, allocations: 0.7188 kB / 0.8195 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.008934, allocations: 220.5 kB / 0.8197 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.008956, allocations: 4 kB / 0.8197 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.008968, allocations: 10.38 kB / 0.8197 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.009012, allocations: 0 / 0.8197 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.009025, allocations: 7.984 kB / 0.8197 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.00903, allocations: 0 / 0.8197 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.009068, allocations: 127.2 kB / 0.8199 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009068, allocations: 0 / 0.8199 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001538/0.009222, allocations: 12 kB / 0.8199 GB, free: 9.027 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001029/0.009325, allocations: 109 kB / 0.82 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.009412, allocations: 40.2 kB / 0.82 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.009415, allocations: 5.375 kB / 0.82 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.009432, allocations: 19.67 kB / 0.82 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.009602, allocations: 8 kB / 0.82 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.01013, allocations: 282 kB / 0.8203 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.01017, allocations: 63.34 kB / 0.8204 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.0102, allocations: 4 kB / 0.8204 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.01026, allocations: 90.19 kB / 0.8205 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.01026, allocations: 0 / 0.8205 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of Templates: time 0.002361/0.01262, allocations: 0.7137 MB / 0.8212 GB, free: 7.656 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.060267477761954]