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.001176/0.001176, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009598/0.0009598, allocations: 161 kB / 24.16 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.9833/0.9833, allocations: 177.1 MB / 204.6 MB, free: 5.129 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.961/1.961, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.698e-05, allocations: 6.25 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003502/0.003529, allocations: 1.363 MB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003863/0.007392, allocations: 3.373 MB / 0.7646 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.007419, allocations: 0 / 0.7646 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.007436, allocations: 4.688 kB / 0.7646 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.007484, allocations: 11.91 kB / 0.7646 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.007913, allocations: 104.9 kB / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.007979, allocations: 41.62 kB / 0.7648 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.008014, allocations: 8 kB / 0.7648 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.008079, allocations: 27.95 kB / 0.7648 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.497e-05/0.008134, allocations: 11.92 kB / 0.7648 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.008145, allocations: 4 kB / 0.7648 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.008328, allocations: 68.66 kB / 0.7649 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.008342, allocations: 11.92 kB / 0.7649 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.00836, allocations: 13.14 kB / 0.7649 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.008496, allocations: 67.84 kB / 0.765 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0085, allocations: 0 / 0.765 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.008501, allocations: 1.812 kB / 0.765 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.008506, allocations: 0 / 0.765 GB, free: 1.562 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.0002678/0.008774, allocations: 252.5 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.008807, allocations: 8.031 kB / 0.7652 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.008901, allocations: 15.61 kB / 0.7653 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.624e-05/0.008967, allocations: 114.1 kB / 0.7654 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.008976, allocations: 384 / 0.7654 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.008996, allocations: 16.33 kB / 0.7654 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.009101, allocations: 123.3 kB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.009108, allocations: 192 / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.009117, allocations: 8.109 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.009121, allocations: 1.844 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.009149, allocations: 15.98 kB / 0.7655 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.983e-05/0.009239, allocations: 65.05 kB / 0.7656 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.009296, allocations: 42.56 kB / 0.7656 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.009311, allocations: 12.86 kB / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.009665, allocations: 217.2 kB / 0.7658 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.009687, allocations: 38.5 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.009688, allocations: 0.7188 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004197/0.01011, allocations: 228.5 kB / 0.7661 GB, free: 288 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.01013, allocations: 55.41 kB / 0.7662 GB, free: 220 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.01019, allocations: 110.6 kB / 0.7663 GB, free: 96 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.0102, allocations: 29.7 kB / 0.7663 GB, free: 60 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.01025, allocations: 92.58 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.01026, allocations: 20.59 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.01029, allocations: 33.66 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.01037, allocations: 319.3 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.01038, allocations: 11 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.01041, allocations: 49.14 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.01047, allocations: 73.16 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.01047, allocations: 0 / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.122e-05/0.01055, allocations: 79.92 kB / 0.7669 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01056, allocations: 8 kB / 0.7669 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01056, allocations: 0 / 0.7669 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01058, allocations: 4 kB / 0.7669 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.01063, allocations: 19.98 kB / 0.767 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01063, allocations: 4 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.01065, allocations: 5.344 kB / 0.767 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.01066, allocations: 4 kB / 0.767 GB, free: 15.3 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.791e-05/0.01072, allocations: 118.5 kB / 0.7671 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.01073, allocations: 7.938 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.01076, allocations: 13.61 kB / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01076, allocations: 0 / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01076, allocations: 0 / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01077, allocations: 0 / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.0109, allocations: 81.88 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0109, allocations: 1.125 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.01095, allocations: 16 kB / 0.7672 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.01095, allocations: 0 / 0.7672 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01096, allocations: 13.02 kB / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01096, allocations: 0 / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01096, allocations: 0 / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.01108, allocations: 164.6 kB / 0.7674 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.01109, allocations: 0 / 0.7674 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.01111, allocations: 8.781 kB / 0.7674 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.01115, allocations: 7.984 kB / 0.7674 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.01116, allocations: 4 kB / 0.7674 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.01117, allocations: 4.75 kB / 0.7674 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.08e-05/0.01118, allocations: 8.859 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01118, allocations: 3.281 kB / 0.7674 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000127/0.01131, allocations: 15.98 kB / 0.7674 GB, free: 14.79 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 9.806e-05/0.0114, allocations: 80.45 kB / 0.7675 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.01147, allocations: 44.72 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01147, allocations: 3.594 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.01149, allocations: 20.84 kB / 0.7676 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.01161, allocations: 13.55 kB / 0.7676 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.01212, allocations: 225.3 kB / 0.7678 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.522e-05/0.01216, allocations: 63.91 kB / 0.7679 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.01219, allocations: 12.08 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.01225, allocations: 67.38 kB / 0.7679 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.01225, allocations: 0 / 0.7679 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.002318/0.01457, allocations: 0.6971 MB / 0.7686 GB, free: 13.57 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 -s gbode -gbm=radauIIA3 -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.998848538380116]