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.001034/0.001034, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001011/0.001011, allocations: 173 kB / 23.49 MB, free: 1.062 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.9472/0.9472, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.087/2.087, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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.372e-06/1.372e-06, allocations: 0 / 0.8781 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.868e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001829/0.001848, allocations: 1.315 MB / 0.8794 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.005239, allocations: 3.372 MB / 0.8827 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.005284, allocations: 0 / 0.8827 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.005307, allocations: 5.016 kB / 0.8827 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.005357, allocations: 11.92 kB / 0.8827 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.005853, allocations: 105 kB / 0.8828 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.005928, allocations: 35.84 kB / 0.8829 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.005964, allocations: 6.469 kB / 0.8829 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.006017, allocations: 23.97 kB / 0.8829 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.006077, allocations: 23.91 kB / 0.8829 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.006088, allocations: 0 / 0.8829 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.00627, allocations: 63.77 kB / 0.883 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.006289, allocations: 15.92 kB / 0.883 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.006314, allocations: 14.03 kB / 0.883 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.006726, allocations: 59.88 kB / 0.8831 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006728, allocations: 0 / 0.8831 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.02e-07/0.006729, allocations: 7.938 kB / 0.8831 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.006733, allocations: 0 / 0.8831 GB, free: 1.613 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.0003586/0.007092, allocations: 381.2 kB / 0.8834 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.007128, allocations: 8.031 kB / 0.8834 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.00725, allocations: 14.53 kB / 0.8835 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.007334, allocations: 108.6 kB / 0.8836 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.007348, allocations: 8.375 kB / 0.8836 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.007373, allocations: 8.328 kB / 0.8836 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.007516, allocations: 132.5 kB / 0.8837 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.007523, allocations: 192 / 0.8837 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.007536, allocations: 8.125 kB / 0.8837 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.007545, allocations: 4 kB / 0.8837 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.007588, allocations: 15.92 kB / 0.8837 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.00773, allocations: 120.6 kB / 0.8838 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.007821, allocations: 59.03 kB / 0.8839 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.007846, allocations: 11.69 kB / 0.8839 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.008349, allocations: 292.6 kB / 0.8842 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.008378, allocations: 41.33 kB / 0.8842 GB, free: 268 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.008379, allocations: 0 / 0.8842 GB, free: 268 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004941/0.008874, allocations: 234 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.008904, allocations: 51.41 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/0.008985, allocations: 165.8 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.008997, allocations: 29.7 kB / 0.8847 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.009043, allocations: 130.8 kB / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.009061, allocations: 27.75 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.009108, allocations: 39.3 kB / 0.8849 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.009224, allocations: 492.1 kB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.009246, allocations: 15.98 kB / 0.8854 GB, free: 15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.009298, allocations: 66.11 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.009377, allocations: 89.94 kB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.009378, allocations: 0 / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001194/0.009497, allocations: 93.94 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.00951, allocations: 8 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.009515, allocations: 0 / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.009529, allocations: 4 kB / 0.8856 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.009591, allocations: 24.11 kB / 0.8856 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.009598, allocations: 7.938 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.009628, allocations: 4 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.009635, allocations: 8 kB / 0.8856 GB, free: 14.65 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 7.242e-05/0.009708, allocations: 164.5 kB / 0.8858 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.009733, allocations: 4 kB / 0.8858 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.009758, allocations: 12.11 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.00976, allocations: 0 / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009763, allocations: 0 / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.009765, allocations: 0 / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.009939, allocations: 132.6 kB / 0.8859 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.00994, allocations: 4 kB / 0.886 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.01, allocations: 15.94 kB / 0.886 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01001, allocations: 7.984 kB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.01001, allocations: 0 / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01001, allocations: 0 / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01002, allocations: 288 / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.01018, allocations: 223.8 kB / 0.8862 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.0102, allocations: 12.02 kB / 0.8862 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.01021, allocations: 0 / 0.8862 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.675e-05/0.01028, allocations: 7.938 kB / 0.8862 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.0103, allocations: 7.984 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01031, allocations: 8 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.442e-05/0.01034, allocations: 119.2 kB / 0.8863 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01034, allocations: 0 / 0.8863 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002243/0.01056, allocations: 12 kB / 0.8863 GB, free: 13.87 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 0.000101/0.01067, allocations: 107.2 kB / 0.8864 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.01077, allocations: 43.61 kB / 0.8865 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01077, allocations: 256 / 0.8865 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.01079, allocations: 27.67 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01102, allocations: 12.25 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.01165, allocations: 278 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01169, allocations: 59.34 kB / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.01172, allocations: 8 kB / 0.8869 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.01175, allocations: 12.5 kB / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01175, allocations: 0 / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.002495/0.01425, allocations: 0.6433 MB / 0.8875 GB, free: 12.64 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.38911724393256]