Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.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.001056/0.001056, 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.001018/0.001018, allocations: 166.2 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 1.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.955/1.955, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.WaterDerivativeCheck,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.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,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.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.045e-05, allocations: 3.312 kB / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002021/0.002042, allocations: 1.322 MB / 0.814 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.004893, allocations: 3.339 MB / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.004927, allocations: 0 / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.004945, allocations: 0 / 0.8173 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.004985, allocations: 9.344 kB / 0.8173 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.005441, allocations: 108.6 kB / 0.8174 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.005509, allocations: 35.84 kB / 0.8174 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.005541, allocations: 4 kB / 0.8174 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.005591, allocations: 24.5 kB / 0.8174 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.005647, allocations: 12.52 kB / 0.8175 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.005657, allocations: 4 kB / 0.8175 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.005817, allocations: 72.55 kB / 0.8175 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.005832, allocations: 8 kB / 0.8175 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.006113, allocations: 12.73 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.006261, allocations: 79.78 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.006263, allocations: 0.5312 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006264, allocations: 1.375 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.758e-06/0.006268, allocations: 0 / 0.8176 GB, free: 12.48 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.0002932/0.006561, allocations: 372.2 kB / 0.818 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.006598, allocations: 13.19 kB / 0.818 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.006688, allocations: 13.17 kB / 0.818 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.006753, allocations: 104.6 kB / 0.8181 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.006764, allocations: 5.156 kB / 0.8181 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.006786, allocations: 12.36 kB / 0.8181 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.00689, allocations: 123.9 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.006897, allocations: 8.875 kB / 0.8183 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.006905, allocations: 4.125 kB / 0.8183 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.00691, allocations: 1.188 kB / 0.8183 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.00694, allocations: 19.91 kB / 0.8183 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.007044, allocations: 101.3 kB / 0.8184 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.007109, allocations: 52.39 kB / 0.8184 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.007127, allocations: 19.67 kB / 0.8184 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/0.007492, allocations: 300.7 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.007513, allocations: 34.11 kB / 0.8188 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.007514, allocations: 0 / 0.8188 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003633/0.007877, allocations: 230.5 kB / 0.819 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.007904, allocations: 52.97 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.007972, allocations: 161.9 kB / 0.8192 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.007982, allocations: 25.7 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.00803, allocations: 138.8 kB / 0.8193 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.008045, allocations: 28.77 kB / 0.8194 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.008077, allocations: 31.36 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003696/0.008447, allocations: 0.4884 MB / 0.8199 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.00846, allocations: 7.312 kB / 0.8199 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.008503, allocations: 70.03 kB / 0.8199 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.008567, allocations: 86.2 kB / 0.82 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008569, allocations: 4 kB / 0.82 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.195e-05/0.008661, allocations: 89.94 kB / 0.8201 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.008674, allocations: 13.88 kB / 0.8201 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008679, allocations: 0 / 0.8201 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.008688, allocations: 4 kB / 0.8201 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.008737, allocations: 19.94 kB / 0.8202 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.00874, allocations: 0 / 0.8202 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.008762, allocations: 8.906 kB / 0.8202 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.008768, allocations: 4.438 kB / 0.8202 GB, free: 9.578 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.532e-05/0.008833, allocations: 161.4 kB / 0.8203 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.008855, allocations: 7.938 kB / 0.8203 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.008879, allocations: 12.78 kB / 0.8203 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008881, allocations: 2.344 kB / 0.8203 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.008884, allocations: 4 kB / 0.8203 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008886, allocations: 0 / 0.8203 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.009025, allocations: 113.2 kB / 0.8205 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009026, allocations: 0 / 0.8205 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.009073, allocations: 19.92 kB / 0.8205 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.009078, allocations: 3.938 kB / 0.8205 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.009084, allocations: 3.031 kB / 0.8205 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009085, allocations: 4 kB / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009086, allocations: 0 / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.009223, allocations: 215.9 kB / 0.8207 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.009242, allocations: 4 kB / 0.8207 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.009252, allocations: 7.938 kB / 0.8207 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.009298, allocations: 0 / 0.8207 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.009312, allocations: 7.984 kB / 0.8207 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.009317, allocations: 4.844 kB / 0.8207 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.00935, allocations: 127.2 kB / 0.8208 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00935, allocations: 1.125 kB / 0.8208 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001649/0.009515, allocations: 8 kB / 0.8208 GB, free: 8.832 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.0001054/0.00962, allocations: 108.3 kB / 0.8209 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.009703, allocations: 40.92 kB / 0.821 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009705, allocations: 0 / 0.821 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.009722, allocations: 24.86 kB / 0.821 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.0099, allocations: 10.5 kB / 0.821 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.01044, allocations: 301 kB / 0.8213 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.01048, allocations: 59.34 kB / 0.8214 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.01051, allocations: 7.938 kB / 0.8214 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.01057, allocations: 86.19 kB / 0.8215 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01057, allocations: 0 / 0.8215 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.002307/0.01288, allocations: 0.7021 MB / 0.8221 GB, free: 7.469 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterDerivativeCheck.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.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30529738496989]