Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001342/0.001342, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001588/0.001588, allocations: 173 kB / 23.02 MB, free: 1.543 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.987/0.987, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.013/2.013, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.118e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001527/0.001548, allocations: 1.319 MB / 0.8794 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.004263, allocations: 3.375 MB / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.004291, allocations: 0 / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.00431, allocations: 0 / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.004353, allocations: 7.984 kB / 0.8827 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.004796, allocations: 109.5 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.004864, allocations: 47.83 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.004895, allocations: 4 kB / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.004944, allocations: 21.58 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.004999, allocations: 15.97 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.00501, allocations: 0 / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.005168, allocations: 79.67 kB / 0.883 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.00518, allocations: 3.125 kB / 0.883 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.005203, allocations: 19.92 kB / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00534, allocations: 59.86 kB / 0.8831 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005343, allocations: 4 kB / 0.8831 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005343, allocations: 0 / 0.8831 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.005347, allocations: 4 kB / 0.8831 GB, free: 1.312 MB / 0.8386 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.0003117/0.005659, allocations: 372.5 kB / 0.8834 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.005692, allocations: 8.031 kB / 0.8834 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.005797, allocations: 22.22 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.419e-05/0.005861, allocations: 108.6 kB / 0.8835 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.005871, allocations: 4.375 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.005893, allocations: 16.8 kB / 0.8836 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.006011, allocations: 128.4 kB / 0.8837 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.006018, allocations: 192 / 0.8837 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006028, allocations: 4.125 kB / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006034, allocations: 0.5 kB / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.006068, allocations: 19.97 kB / 0.8837 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.006184, allocations: 124.6 kB / 0.8838 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/0.006259, allocations: 55.03 kB / 0.8839 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.006283, allocations: 15.69 kB / 0.8839 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/0.006694, allocations: 284.8 kB / 0.8842 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.006728, allocations: 45.38 kB / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.006729, allocations: 3.938 kB / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004154/0.007144, allocations: 229.7 kB / 0.8844 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.007172, allocations: 51.41 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.007244, allocations: 165.9 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.007257, allocations: 29.7 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.007304, allocations: 134.8 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.007321, allocations: 31.73 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.007355, allocations: 27.38 kB / 0.8849 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.00747, allocations: 0.4884 MB / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.007494, allocations: 8 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.007538, allocations: 66.11 kB / 0.8854 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.007608, allocations: 93.92 kB / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007609, allocations: 3.938 kB / 0.8855 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.415e-05/0.007703, allocations: 97.77 kB / 0.8856 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007715, allocations: 8 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.00772, allocations: 0 / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.007743, allocations: 4 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.007792, allocations: 23.98 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.007798, allocations: 3.938 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.007818, allocations: 8.125 kB / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007823, allocations: 4 kB / 0.8856 GB, free: 14.35 MB / 0.8542 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.596e-05/0.007879, allocations: 164.5 kB / 0.8858 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.007894, allocations: 4 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.007914, allocations: 8.125 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.007915, allocations: 0 / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007918, allocations: 0 / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.007921, allocations: 0 / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.008061, allocations: 136.5 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.008061, allocations: 0 / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.008107, allocations: 20 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.008108, allocations: 0 / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.008115, allocations: 7.938 kB / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008116, allocations: 80 / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008117, allocations: 3.984 kB / 0.886 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.008249, allocations: 228.2 kB / 0.8862 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.008269, allocations: 7.984 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.008278, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.008324, allocations: 12 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.008338, allocations: 0 / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.008345, allocations: 7.984 kB / 0.8862 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.008413, allocations: 123.2 kB / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008413, allocations: 0 / 0.8863 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001468/0.00856, allocations: 16 kB / 0.8863 GB, free: 13.56 MB / 0.8542 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.147e-05/0.008641, allocations: 99.19 kB / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.008736, allocations: 47.81 kB / 0.8865 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008737, allocations: 0 / 0.8865 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.008754, allocations: 23.94 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.008924, allocations: 15.88 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.009454, allocations: 290 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.009486, allocations: 55.36 kB / 0.8869 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.009516, allocations: 11.98 kB / 0.8869 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.009537, allocations: 12.5 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.009538, allocations: 0 / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.002377/0.01191, allocations: 0.6799 MB / 0.8875 GB, free: 12.28 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.291388805955648]