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.001303/0.001303, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001624/0.001624, allocations: 161 kB / 24.17 MB, free: 332 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.965/0.965, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.794/1.794, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.823e-06/1.823e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.485e-05, allocations: 2.312 kB / 0.76 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001497/0.001512, allocations: 1.322 MB / 0.7613 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.004252, allocations: 3.376 MB / 0.7645 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.004274, allocations: 0 / 0.7645 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.004292, allocations: 7.938 kB / 0.7646 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.004329, allocations: 5.656 kB / 0.7646 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.004728, allocations: 111.5 kB / 0.7647 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.157e-05/0.00479, allocations: 32.61 kB / 0.7647 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.901e-05/0.004819, allocations: 8 kB / 0.7647 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.00487, allocations: 32.64 kB / 0.7647 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.004926, allocations: 11.92 kB / 0.7647 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.004937, allocations: 5.188 kB / 0.7648 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.005075, allocations: 63.81 kB / 0.7648 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.005089, allocations: 11.92 kB / 0.7648 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.005109, allocations: 16.98 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.005229, allocations: 67.8 kB / 0.7649 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005231, allocations: 0.7188 kB / 0.7649 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005232, allocations: 0 / 0.7649 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.005236, allocations: 1 kB / 0.7649 GB, free: 1.688 MB / 0.7136 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.0002455/0.005481, allocations: 248.5 kB / 0.7651 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005512, allocations: 12.81 kB / 0.7652 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.005591, allocations: 12.86 kB / 0.7652 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.889e-05/0.00565, allocations: 111.2 kB / 0.7653 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.00566, allocations: 4.375 kB / 0.7653 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.00568, allocations: 13.2 kB / 0.7653 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.005777, allocations: 127.3 kB / 0.7654 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.005782, allocations: 192 / 0.7654 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.00579, allocations: 5.312 kB / 0.7654 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005795, allocations: 0 / 0.7654 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.005819, allocations: 11.98 kB / 0.7654 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.075e-05/0.0059, allocations: 71.78 kB / 0.7655 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.005955, allocations: 42.62 kB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.00597, allocations: 16.8 kB / 0.7656 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.00629, allocations: 216.3 kB / 0.7658 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.006318, allocations: 38.5 kB / 0.7658 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.006319, allocations: 0 / 0.7658 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/0.006721, allocations: 228.2 kB / 0.766 GB, free: 416 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.006748, allocations: 63.34 kB / 0.7661 GB, free: 340 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.221e-05/0.0068, allocations: 110.6 kB / 0.7662 GB, free: 216 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.00681, allocations: 26.33 kB / 0.7662 GB, free: 184 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.006841, allocations: 85.12 kB / 0.7663 GB, free: 96 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.006856, allocations: 31.77 kB / 0.7663 GB, free: 64 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.006883, allocations: 25.67 kB / 0.7663 GB, free: 32 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.00696, allocations: 325.3 kB / 0.7667 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.00697, allocations: 7.938 kB / 0.7667 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.006999, allocations: 53.06 kB / 0.7667 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.007049, allocations: 67.69 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007051, allocations: 0 / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.754e-05/0.007118, allocations: 77.47 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.00713, allocations: 11.94 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007135, allocations: 0 / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.007146, allocations: 5.781 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.007191, allocations: 20 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.007195, allocations: 3.984 kB / 0.7669 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.007215, allocations: 4 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.00722, allocations: 4 kB / 0.7669 GB, free: 15.42 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 5.509e-05/0.007275, allocations: 116.6 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.007291, allocations: 7.938 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.007315, allocations: 8.125 kB / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.007316, allocations: 4 kB / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007317, allocations: 0 / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.007321, allocations: 3.984 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.007439, allocations: 88.31 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00744, allocations: 0 / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.007483, allocations: 12 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.007484, allocations: 0 / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.007491, allocations: 7.938 kB / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.007491, allocations: 0 / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.007492, allocations: 0 / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.007598, allocations: 168.5 kB / 0.7673 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.007617, allocations: 4 kB / 0.7673 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.007626, allocations: 6.25 kB / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.007665, allocations: 0 / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.007678, allocations: 7.984 kB / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.007683, allocations: 7.938 kB / 0.7673 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.415e-06/0.007691, allocations: 8.859 kB / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007691, allocations: 0 / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001263/0.007817, allocations: 12 kB / 0.7673 GB, free: 14.91 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 8.223e-05/0.0079, allocations: 92.03 kB / 0.7674 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.839e-05/0.007958, allocations: 41.05 kB / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.00796, allocations: 0 / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.007973, allocations: 16.8 kB / 0.7675 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.008083, allocations: 10.75 kB / 0.7675 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.008543, allocations: 233.3 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.008578, allocations: 63.22 kB / 0.7678 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.008609, allocations: 8.578 kB / 0.7678 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.008661, allocations: 63.38 kB / 0.7678 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.008662, allocations: 0 / 0.7678 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.002142/0.0108, allocations: 0.7025 MB / 0.7685 GB, free: 13.7 MB / 0.7292 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: 4.895184291061014]