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.0009988/0.0009988, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009508/0.0009508, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9875/0.9875, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.969/1.969, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.513e-06/1.513e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.125e-05, allocations: 10.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001679/0.0017, allocations: 1.316 MB / 0.8128 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.004503, allocations: 3.013 MB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.00452, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.004537, allocations: 1.531 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.004575, allocations: 3.938 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.004952, allocations: 108.4 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.005007, allocations: 35.91 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.285e-05/0.00503, allocations: 8.656 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.005381, allocations: 192.1 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.005409, allocations: 15.97 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.00542, allocations: 1.281 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.005505, allocations: 51.89 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.005515, allocations: 7.984 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.005535, allocations: 12.59 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.005668, allocations: 67.78 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00567, allocations: 0.7188 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.41e-07/0.005671, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005675, allocations: 1.531 kB / 0.8162 GB, free: 12.96 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.000301/0.005976, allocations: 372.2 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.006008, allocations: 12.02 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.006041, allocations: 9.828 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.957e-05/0.006101, allocations: 110.5 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.006109, allocations: 384 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.006132, allocations: 8.375 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.006248, allocations: 131.3 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.006253, allocations: 192 / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.006262, allocations: 5 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006269, allocations: 4 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.006304, allocations: 23.91 kB / 0.8168 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.006416, allocations: 128 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.006488, allocations: 51.11 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.006516, allocations: 23.67 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.006983, allocations: 296.5 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.007004, allocations: 33.39 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.007005, allocations: 0 / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003744/0.00738, allocations: 225.7 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.007402, allocations: 56.03 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.007467, allocations: 163.6 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.007479, allocations: 29.7 kB / 0.8178 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.00752, allocations: 134.8 kB / 0.8179 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.007535, allocations: 28 kB / 0.818 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.007568, allocations: 35.33 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.007679, allocations: 0.4894 MB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.007695, allocations: 4 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.007743, allocations: 70.05 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.007814, allocations: 91.52 kB / 0.8186 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007816, allocations: 0.9688 kB / 0.8186 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.806e-05/0.007914, allocations: 99.47 kB / 0.8187 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.007924, allocations: 7.984 kB / 0.8187 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007929, allocations: 4 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.00794, allocations: 1.344 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-05/0.007988, allocations: 23.94 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.007995, allocations: 4 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.008014, allocations: 0.5938 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.00802, allocations: 4 kB / 0.8188 GB, free: 10.02 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.025e-05/0.00808, allocations: 170.5 kB / 0.8189 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.008099, allocations: 7.953 kB / 0.8189 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.008119, allocations: 8.125 kB / 0.819 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008121, allocations: 4 kB / 0.819 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.008124, allocations: 3.344 kB / 0.819 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.008126, allocations: 0 / 0.819 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.008262, allocations: 132.6 kB / 0.8191 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.008263, allocations: 4 kB / 0.8191 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.008309, allocations: 19.92 kB / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.00831, allocations: 0 / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.008316, allocations: 0 / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008316, allocations: 0 / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.008317, allocations: 0 / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.008457, allocations: 220.7 kB / 0.8193 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.008479, allocations: 7.953 kB / 0.8193 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.008489, allocations: 9.125 kB / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.008533, allocations: 0 / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.008547, allocations: 7.984 kB / 0.8193 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.008552, allocations: 1.125 kB / 0.8193 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.008583, allocations: 127.1 kB / 0.8195 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008583, allocations: 0 / 0.8195 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001482/0.008731, allocations: 12 kB / 0.8195 GB, free: 9.238 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 8.353e-05/0.008815, allocations: 113.6 kB / 0.8196 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.008894, allocations: 43.61 kB / 0.8196 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008895, allocations: 0.5 kB / 0.8196 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.008913, allocations: 24.55 kB / 0.8197 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.009067, allocations: 15.88 kB / 0.8197 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.009541, allocations: 268.8 kB / 0.8199 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.009571, allocations: 63.28 kB / 0.82 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.009601, allocations: 8 kB / 0.82 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.009621, allocations: 12.5 kB / 0.82 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.009622, allocations: 0 / 0.82 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of Templates: time 0.002039/0.01166, allocations: 0.6521 MB / 0.8206 GB, free: 8.012 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.418276424985379]