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.001064/0.001064, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001/0.001, allocations: 166.8 kB / 24.87 MB, free: 8.891 MB / 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.9526/0.9526, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.966/1.966, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.583e-06/1.583e-06, allocations: 0 / 0.8127 GB, free: 384 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.16e-05, allocations: 2.312 kB / 0.8127 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00229/0.002322, allocations: 1.311 MB / 0.814 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.005692, allocations: 2.993 MB / 0.8169 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.005723, allocations: 0 / 0.8169 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.00574, allocations: 5.531 kB / 0.8169 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.005783, allocations: 0 / 0.8169 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.006265, allocations: 112.4 kB / 0.817 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.006338, allocations: 31.92 kB / 0.8171 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.006373, allocations: 11.92 kB / 0.8171 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.006844, allocations: 188.5 kB / 0.8173 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.006882, allocations: 20.78 kB / 0.8173 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.006893, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.007015, allocations: 52.36 kB / 0.8173 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.007028, allocations: 7.984 kB / 0.8173 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.007052, allocations: 21.3 kB / 0.8174 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.007203, allocations: 55.86 kB / 0.8174 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007205, allocations: 0 / 0.8174 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.203e-06/0.007207, allocations: 0 / 0.8174 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.007211, allocations: 1.219 kB / 0.8174 GB, free: 11.59 MB / 0.7292 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.0003408/0.007551, allocations: 380.2 kB / 0.8178 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.007584, allocations: 8.688 kB / 0.8178 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.007628, allocations: 8.891 kB / 0.8178 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.007705, allocations: 109.3 kB / 0.8179 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.007718, allocations: 4.938 kB / 0.8179 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.007744, allocations: 8.375 kB / 0.8179 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.00788, allocations: 132.7 kB / 0.818 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.007888, allocations: 192 / 0.818 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.007898, allocations: 4.125 kB / 0.818 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.007903, allocations: 0 / 0.818 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.007938, allocations: 17.25 kB / 0.8181 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.008058, allocations: 105.2 kB / 0.8182 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.924e-05/0.008137, allocations: 55.05 kB / 0.8182 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.00816, allocations: 20.2 kB / 0.8182 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.008599, allocations: 297.4 kB / 0.8185 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.008624, allocations: 33.39 kB / 0.8185 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.008625, allocations: 1.688 kB / 0.8185 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004284/0.009054, allocations: 225.7 kB / 0.8188 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.009082, allocations: 51.41 kB / 0.8188 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.009305, allocations: 166.7 kB / 0.819 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.009317, allocations: 25.7 kB / 0.819 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.009364, allocations: 138.3 kB / 0.8191 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.009384, allocations: 31.73 kB / 0.8192 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.009424, allocations: 31.36 kB / 0.8192 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.00954, allocations: 0.4884 MB / 0.8197 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.009554, allocations: 4 kB / 0.8197 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.009602, allocations: 66.11 kB / 0.8197 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.009677, allocations: 90.64 kB / 0.8198 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009678, allocations: 1.875 kB / 0.8198 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001178/0.009796, allocations: 89.39 kB / 0.8199 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.009811, allocations: 8 kB / 0.8199 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.009817, allocations: 0.9062 kB / 0.8199 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.00983, allocations: 8.422 kB / 0.8199 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.009894, allocations: 16.84 kB / 0.8199 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.009898, allocations: 0 / 0.8199 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.009934, allocations: 12 kB / 0.8199 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.00994, allocations: 4.656 kB / 0.8199 GB, free: 8.691 MB / 0.7292 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 7.26e-05/0.01001, allocations: 162.6 kB / 0.8201 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01004, allocations: 11.92 kB / 0.8201 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.01007, allocations: 12.12 kB / 0.8201 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01007, allocations: 0 / 0.8201 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01007, allocations: 0 / 0.8201 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01007, allocations: 0 / 0.8201 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.01025, allocations: 120.5 kB / 0.8202 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01026, allocations: 0 / 0.8202 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.01032, allocations: 15.98 kB / 0.8203 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01033, allocations: 3.938 kB / 0.8203 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.01033, allocations: 4 kB / 0.8203 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01033, allocations: 0 / 0.8203 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01033, allocations: 0 / 0.8203 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01049, allocations: 223.8 kB / 0.8205 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.01052, allocations: 8.922 kB / 0.8205 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.01053, allocations: 7.938 kB / 0.8205 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.0106, allocations: 0 / 0.8205 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.01061, allocations: 9.047 kB / 0.8205 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.01062, allocations: 4 kB / 0.8205 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.01065, allocations: 124.3 kB / 0.8206 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 0 / 0.8206 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002385/0.01089, allocations: 8 kB / 0.8206 GB, free: 7.934 MB / 0.7292 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.0001158/0.01101, allocations: 108.4 kB / 0.8207 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.97e-05/0.0111, allocations: 40.8 kB / 0.8208 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0111, allocations: 0 / 0.8208 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.01112, allocations: 29.31 kB / 0.8208 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01136, allocations: 8 kB / 0.8208 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.01198, allocations: 268.3 kB / 0.8211 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.01202, allocations: 71.08 kB / 0.8211 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.01206, allocations: 11.98 kB / 0.8211 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.01214, allocations: 86.19 kB / 0.8212 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of SimCode: time 1.352e-06/0.01214, allocations: 0 / 0.8212 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.002772/0.01491, allocations: 0.7192 MB / 0.8219 GB, free: 6.562 MB / 0.7292 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.154075322672725]