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.0009448/0.0009448, 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.0009969/0.0009969, allocations: 165 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 1.022/1.022, 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.982/1.982, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.503e-06/1.503e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.561e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001545/0.00156, allocations: 1.317 MB / 0.8128 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.004527, allocations: 3.362 MB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.004556, allocations: 5.188 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.004577, allocations: 3.984 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.004621, allocations: 3.938 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.00506, allocations: 110.8 kB / 0.8162 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.005122, allocations: 31.86 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.005157, allocations: 4 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.00521, allocations: 27.95 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.005265, allocations: 11.98 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.005277, allocations: 4 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.005435, allocations: 68.22 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.00545, allocations: 8.719 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.005473, allocations: 19.91 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.005621, allocations: 68.3 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005622, allocations: 1.531 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005623, allocations: 0 / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005628, allocations: 3.984 kB / 0.8164 GB, free: 12.61 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.0003169/0.005945, allocations: 368.9 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.00598, allocations: 12.03 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.006085, allocations: 14.14 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.291e-05/0.006148, allocations: 108.6 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.00616, allocations: 9.125 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.006187, allocations: 4.375 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.006315, allocations: 135.8 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006322, allocations: 192 / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.006335, allocations: 13.45 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.006343, allocations: 0 / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.006381, allocations: 15.98 kB / 0.8171 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.006497, allocations: 116.6 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.006568, allocations: 55.86 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.006591, allocations: 15.69 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.00702, allocations: 309.6 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.007042, allocations: 34.64 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.007043, allocations: 0 / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.007471, allocations: 226.7 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.007495, allocations: 55.41 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.007562, allocations: 165.8 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.007573, allocations: 32.02 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.007613, allocations: 130.8 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.007628, allocations: 27.75 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.007659, allocations: 35.36 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.007759, allocations: 496.1 kB / 0.8187 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.007778, allocations: 15.92 kB / 0.8187 GB, free: 10 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.00782, allocations: 69.55 kB / 0.8188 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.007885, allocations: 82 kB / 0.8189 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.007886, allocations: 0 / 0.8189 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.332e-05/0.00798, allocations: 97.48 kB / 0.819 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007991, allocations: 4.906 kB / 0.819 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007995, allocations: 0 / 0.819 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.00801, allocations: 4.938 kB / 0.819 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.00806, allocations: 23.92 kB / 0.819 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.008066, allocations: 4.562 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.008086, allocations: 4.562 kB / 0.819 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.008093, allocations: 8 kB / 0.819 GB, free: 9.66 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.038e-05/0.008154, allocations: 161.5 kB / 0.8192 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.008173, allocations: 16.98 kB / 0.8192 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.008201, allocations: 12.11 kB / 0.8192 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.008202, allocations: 0 / 0.8192 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008205, allocations: 0.9062 kB / 0.8192 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008209, allocations: 4 kB / 0.8192 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.008342, allocations: 133.3 kB / 0.8193 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008343, allocations: 0 / 0.8193 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.008391, allocations: 21.11 kB / 0.8193 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008394, allocations: 3.984 kB / 0.8193 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.008402, allocations: 0 / 0.8193 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.008402, allocations: 3.969 kB / 0.8193 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.008403, allocations: 0 / 0.8193 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.008534, allocations: 219.8 kB / 0.8195 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.008555, allocations: 11.94 kB / 0.8196 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.008566, allocations: 4 kB / 0.8196 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.008612, allocations: 0 / 0.8196 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.008627, allocations: 3.984 kB / 0.8196 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.008632, allocations: 4 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.008663, allocations: 127.2 kB / 0.8197 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008663, allocations: 0 / 0.8197 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001527/0.008815, allocations: 8.906 kB / 0.8197 GB, free: 8.879 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.833e-05/0.008904, allocations: 104.3 kB / 0.8198 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/0.008991, allocations: 48.94 kB / 0.8198 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008993, allocations: 4 kB / 0.8199 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.009012, allocations: 24.73 kB / 0.8199 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.009185, allocations: 18.53 kB / 0.8199 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.009725, allocations: 280.5 kB / 0.8202 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.009757, allocations: 63.28 kB / 0.8202 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.009787, allocations: 8 kB / 0.8202 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.009811, allocations: 12.5 kB / 0.8202 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.009811, allocations: 0 / 0.8202 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of Templates: time 0.002112/0.01192, allocations: 0.6432 MB / 0.8209 GB, free: 7.645 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.2795312399975955]