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.001408/0.001408, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001842/0.001842, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.964/0.964, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.719/2.719, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 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 3.306e-06/3.306e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.483e-05/4.814e-05, allocations: 9.203 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.006037/0.006085, allocations: 2.499 MB / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.009984, allocations: 1.662 MB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.01033, allocations: 7.938 kB / 0.8938 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.01147, allocations: 322.6 kB / 0.8942 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.01223, allocations: 278.7 kB / 0.8944 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.01287, allocations: 203.4 kB / 0.8946 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.01357, allocations: 422.5 kB / 0.895 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.01378, allocations: 40.91 kB / 0.8951 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.01485, allocations: 259.6 kB / 0.8953 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.01519, allocations: 147.6 kB / 0.8954 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.01526, allocations: 20 kB / 0.8955 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.01555, allocations: 79.88 kB / 0.8955 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.01573, allocations: 143.4 kB / 0.8957 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.01587, allocations: 99.58 kB / 0.8958 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.01652, allocations: 346.5 kB / 0.8961 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01652, allocations: 0 / 0.8961 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.005e-06/0.01653, allocations: 3.984 kB / 0.8961 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.01653, allocations: 0 / 0.8961 GB, free: 3.199 MB / 0.8542 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.00119/0.01772, allocations: 0.9006 MB / 0.897 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.01778, allocations: 16.62 kB / 0.897 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.01789, allocations: 76.5 kB / 0.8971 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.01838, allocations: 385.9 kB / 0.8974 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.0184, allocations: 4.562 kB / 0.8974 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.01842, allocations: 12.38 kB / 0.8975 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.01869, allocations: 115.4 kB / 0.8976 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.0187, allocations: 0 / 0.8976 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.01871, allocations: 4 kB / 0.8976 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01872, allocations: 4 kB / 0.8976 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.01879, allocations: 27.97 kB / 0.8976 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/0.01964, allocations: 476 kB / 0.8981 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.01984, allocations: 91.14 kB / 0.8981 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.0199, allocations: 23.67 kB / 0.8982 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.01992, allocations: 0 / 0.8982 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.02013, allocations: 122.7 kB / 0.8983 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.756e-06/0.02013, allocations: 0 / 0.8983 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004097/0.02054, allocations: 185.2 kB / 0.8985 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.02059, allocations: 55.41 kB / 0.8985 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.02128, allocations: 0.6398 MB / 0.8991 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.02132, allocations: 29.7 kB / 0.8992 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.02171, allocations: 339.1 kB / 0.8995 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.02176, allocations: 39.72 kB / 0.8995 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02187, allocations: 63.28 kB / 0.8996 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.02209, allocations: 0.5741 MB / 0.9001 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.02215, allocations: 27.97 kB / 0.9002 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.02225, allocations: 133.1 kB / 0.9003 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.02237, allocations: 88.88 kB / 0.9004 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.02238, allocations: 0 / 0.9004 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002651/0.02264, allocations: 191.8 kB / 0.9006 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.02266, allocations: 8 kB / 0.9006 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.02267, allocations: 0 / 0.9006 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.02269, allocations: 0 / 0.9006 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.02283, allocations: 35.92 kB / 0.9006 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.02283, allocations: 4.062 kB / 0.9006 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.02295, allocations: 27.81 kB / 0.9006 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.02297, allocations: 8 kB / 0.9006 GB, free: 14.29 MB / 0.8698 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.0001382/0.02311, allocations: 178.5 kB / 0.9008 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.02317, allocations: 59.62 kB / 0.9009 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.02345, allocations: 170.8 kB / 0.901 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02346, allocations: 3.938 kB / 0.901 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02346, allocations: 0 / 0.901 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.02346, allocations: 0 / 0.901 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.02373, allocations: 261 kB / 0.9013 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.02374, allocations: 0 / 0.9013 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.02378, allocations: 15.94 kB / 0.9013 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.02378, allocations: 0 / 0.9013 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.0238, allocations: 3.984 kB / 0.9013 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.0238, allocations: 0 / 0.9013 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.0238, allocations: 4 kB / 0.9013 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.02405, allocations: 213.5 kB / 0.9015 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.02412, allocations: 51.61 kB / 0.9016 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.02416, allocations: 4 kB / 0.9016 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.02424, allocations: 23.98 kB / 0.9016 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.02429, allocations: 11.97 kB / 0.9016 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.0243, allocations: 8 kB / 0.9016 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000299/0.0246, allocations: 386.9 kB / 0.902 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.0246, allocations: 0 / 0.902 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003542/0.02496, allocations: 63.94 kB / 0.902 GB, free: 12.79 MB / 0.8698 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.001264/0.02622, allocations: 409 kB / 0.9024 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.02648, allocations: 97.41 kB / 0.9025 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.02648, allocations: 0 / 0.9025 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.02657, allocations: 47.59 kB / 0.9026 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.02706, allocations: 106.9 kB / 0.9027 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.02863, allocations: 0.7425 MB / 0.9034 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.02874, allocations: 136.2 kB / 0.9035 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.02886, allocations: 46.92 kB / 0.9036 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.02904, allocations: 138.1 kB / 0.9037 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/0.02904, allocations: 0 / 0.9037 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.012/0.04104, allocations: 5.022 MB / 0.9086 GB, free: 6.238 MB / 0.8698 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.012046886142343]