Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001285/0.001285, 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.001121/0.001121, allocations: 169 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 1.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.127/2.127, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.7656 kB / 0.8782 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.647e-05, allocations: 2.844 kB / 0.8782 GB, free: 5.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003392/0.003419, allocations: 2.525 MB / 0.8807 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.005737, allocations: 1.671 MB / 0.8823 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.005897, allocations: 7.875 kB / 0.8823 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0009053/0.006803, allocations: 329 kB / 0.8826 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.007228, allocations: 276 kB / 0.8829 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.007582, allocations: 204.4 kB / 0.8831 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.007971, allocations: 427.5 kB / 0.8835 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.008133, allocations: 40.92 kB / 0.8835 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.008379, allocations: 220.5 kB / 0.8837 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.008562, allocations: 139.6 kB / 0.8839 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.0086, allocations: 20 kB / 0.8839 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.008758, allocations: 95.19 kB / 0.884 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.008887, allocations: 139.5 kB / 0.8841 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.008988, allocations: 99.58 kB / 0.8842 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.009411, allocations: 350.5 kB / 0.8845 GB, free: 15 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.009414, allocations: 0 / 0.8845 GB, free: 15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.252e-06/0.009416, allocations: 0 / 0.8845 GB, free: 15 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.009423, allocations: 0 / 0.8845 GB, free: 15 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001001/0.01042, allocations: 0.9085 MB / 0.8854 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.01047, allocations: 9.188 kB / 0.8854 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01057, allocations: 68.52 kB / 0.8855 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.01103, allocations: 379.7 kB / 0.8859 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.01107, allocations: 12.56 kB / 0.8859 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.01109, allocations: 12.38 kB / 0.8859 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.0113, allocations: 121 kB / 0.886 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01131, allocations: 1.094 kB / 0.886 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.01133, allocations: 3.984 kB / 0.886 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.01134, allocations: 7.984 kB / 0.886 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.01143, allocations: 37.41 kB / 0.886 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/0.01213, allocations: 0.5658 MB / 0.8866 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.01232, allocations: 91.22 kB / 0.8867 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.01237, allocations: 31.67 kB / 0.8867 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.01239, allocations: 0 / 0.8867 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.01257, allocations: 130.6 kB / 0.8868 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.01257, allocations: 0 / 0.8868 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0003293/0.0129, allocations: 191.9 kB / 0.887 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.01294, allocations: 55.41 kB / 0.8871 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.01346, allocations: 0.6558 MB / 0.8877 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01348, allocations: 37.64 kB / 0.8878 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.01368, allocations: 343.1 kB / 0.8881 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.01372, allocations: 35.73 kB / 0.8881 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.01379, allocations: 59.34 kB / 0.8882 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.01398, allocations: 0.5703 MB / 0.8887 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.01404, allocations: 27.98 kB / 0.8888 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01416, allocations: 139.5 kB / 0.8889 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01428, allocations: 94.03 kB / 0.889 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01429, allocations: 4.031 kB / 0.889 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002379/0.01452, allocations: 205.1 kB / 0.8892 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01454, allocations: 9.875 kB / 0.8892 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01455, allocations: 0 / 0.8892 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01456, allocations: 0 / 0.8892 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.01467, allocations: 39.92 kB / 0.8892 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01468, allocations: 3.938 kB / 0.8892 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.01477, allocations: 23.94 kB / 0.8893 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01478, allocations: 4 kB / 0.8893 GB, free: 9.906 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001255/0.01491, allocations: 182.6 kB / 0.8894 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.01496, allocations: 63.61 kB / 0.8895 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.01521, allocations: 174.8 kB / 0.8897 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.01521, allocations: 4 kB / 0.8897 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01522, allocations: 3.938 kB / 0.8897 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01523, allocations: 3.938 kB / 0.8897 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.0155, allocations: 344.3 kB / 0.89 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0155, allocations: 0 / 0.89 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.01553, allocations: 15.98 kB / 0.89 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01553, allocations: 4 kB / 0.89 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.01555, allocations: 4 kB / 0.89 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01555, allocations: 0 / 0.89 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01555, allocations: 4 kB / 0.89 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.01575, allocations: 212 kB / 0.8902 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.0158, allocations: 55.55 kB / 0.8903 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.01584, allocations: 15.88 kB / 0.8903 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.616e-05/0.0159, allocations: 7.984 kB / 0.8903 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.01597, allocations: 19.97 kB / 0.8903 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.01598, allocations: 15.92 kB / 0.8903 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003196/0.0163, allocations: 411 kB / 0.8907 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0163, allocations: 0 / 0.8907 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000225/0.01653, allocations: 67.89 kB / 0.8908 GB, free: 8.254 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001034/0.01756, allocations: 413.6 kB / 0.8912 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01778, allocations: 101.8 kB / 0.8913 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01778, allocations: 0 / 0.8913 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.01786, allocations: 49.86 kB / 0.8913 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.01819, allocations: 98.39 kB / 0.8914 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01931, allocations: 0.7544 MB / 0.8922 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.494e-05/0.0194, allocations: 140.2 kB / 0.8923 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.493e-05/0.01949, allocations: 38.94 kB / 0.8923 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.01955, allocations: 36.48 kB / 0.8924 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of SimCode: time 1.233e-06/0.01956, allocations: 0 / 0.8924 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.008259/0.02782, allocations: 4.614 MB / 0.8969 GB, free: 2.188 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1102319760248065]