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.001454/0.001454, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001628/0.001628, allocations: 169.4 kB / 24.06 MB, free: 456 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.9949/0.9949, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.178/2.178, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 1.232e-06/1.232e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.17e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003085/0.003107, allocations: 2.497 MB / 0.8819 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.005155, allocations: 1.664 MB / 0.8835 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.005373, allocations: 7.938 kB / 0.8835 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000962/0.006335, allocations: 326.2 kB / 0.8838 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.006904, allocations: 274.7 kB / 0.8841 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.007413, allocations: 203.4 kB / 0.8843 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.007814, allocations: 426.5 kB / 0.8847 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.007951, allocations: 52.88 kB / 0.8847 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.008557, allocations: 259.1 kB / 0.885 GB, free: 364 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.008727, allocations: 151.5 kB / 0.8851 GB, free: 212 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.008759, allocations: 20 kB / 0.8851 GB, free: 192 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.008908, allocations: 75.88 kB / 0.8852 GB, free: 116 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.00903, allocations: 139.5 kB / 0.8853 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.009119, allocations: 95.53 kB / 0.8854 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.009526, allocations: 354.5 kB / 0.8858 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.009529, allocations: 4 kB / 0.8858 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00953, allocations: 0 / 0.8858 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.009536, allocations: 4 kB / 0.8858 GB, free: 15.53 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.0008306/0.01037, allocations: 0.9006 MB / 0.8866 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.0104, allocations: 12.03 kB / 0.8867 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.01049, allocations: 72.52 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.01084, allocations: 385.9 kB / 0.8871 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.01086, allocations: 8.547 kB / 0.8871 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.01088, allocations: 12.38 kB / 0.8871 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.01106, allocations: 123.4 kB / 0.8872 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.01106, allocations: 0 / 0.8872 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.01107, allocations: 4 kB / 0.8872 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01108, allocations: 4 kB / 0.8872 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.01113, allocations: 29.84 kB / 0.8873 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.01166, allocations: 472 kB / 0.8877 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.01179, allocations: 83.2 kB / 0.8878 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.01182, allocations: 27.67 kB / 0.8878 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.01183, allocations: 0 / 0.8878 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.01196, allocations: 122.7 kB / 0.8879 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.01196, allocations: 0 / 0.8879 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002477/0.01221, allocations: 181.2 kB / 0.8881 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.01223, allocations: 55.41 kB / 0.8882 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.0127, allocations: 0.6398 MB / 0.8888 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.01272, allocations: 33.69 kB / 0.8888 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.01289, allocations: 335.1 kB / 0.8891 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.01292, allocations: 39.72 kB / 0.8892 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.01299, allocations: 67.31 kB / 0.8892 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01315, allocations: 0.5702 MB / 0.8898 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.01319, allocations: 27.97 kB / 0.8898 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.01327, allocations: 125.8 kB / 0.8899 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.01335, allocations: 84.41 kB / 0.89 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01336, allocations: 0 / 0.89 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003199/0.01368, allocations: 203.1 kB / 0.8902 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01369, allocations: 8 kB / 0.8902 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.0137, allocations: 0 / 0.8902 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.01371, allocations: 4 kB / 0.8902 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.01381, allocations: 39.91 kB / 0.8903 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.01381, allocations: 0 / 0.8903 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.01389, allocations: 23.83 kB / 0.8903 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.0139, allocations: 11.98 kB / 0.8903 GB, free: 10.61 MB / 0.8542 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.0001099/0.01401, allocations: 174.5 kB / 0.8905 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.01406, allocations: 63.62 kB / 0.8905 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.01426, allocations: 169.8 kB / 0.8907 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01426, allocations: 0 / 0.8907 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01426, allocations: 0 / 0.8907 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01427, allocations: 7.984 kB / 0.8907 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.01446, allocations: 252.9 kB / 0.8909 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01446, allocations: 0 / 0.8909 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.01449, allocations: 15.98 kB / 0.891 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01449, allocations: 0 / 0.891 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.0145, allocations: 0 / 0.891 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.0145, allocations: 3.938 kB / 0.891 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.0145, allocations: 8 kB / 0.891 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01468, allocations: 207.9 kB / 0.8912 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.01473, allocations: 59.55 kB / 0.8912 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.01476, allocations: 4 kB / 0.8912 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.01482, allocations: 11.98 kB / 0.8912 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.01486, allocations: 15.97 kB / 0.8913 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01487, allocations: 8 kB / 0.8913 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002221/0.01509, allocations: 386.9 kB / 0.8916 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01509, allocations: 0 / 0.8916 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002093/0.0153, allocations: 59.94 kB / 0.8917 GB, free: 9.129 MB / 0.8542 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.000876/0.01617, allocations: 426.5 kB / 0.8921 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.01633, allocations: 103.4 kB / 0.8922 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01633, allocations: 0 / 0.8922 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.01639, allocations: 47.61 kB / 0.8922 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.0167, allocations: 99.77 kB / 0.8923 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/0.01759, allocations: 0.7387 MB / 0.8931 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.182e-05/0.01767, allocations: 132.2 kB / 0.8932 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.552e-05/0.01776, allocations: 50.92 kB / 0.8932 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.0179, allocations: 130.2 kB / 0.8934 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.0179, allocations: 4 kB / 0.8934 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of Templates: time 0.008312/0.02621, allocations: 5.087 MB / 0.8983 GB, free: 2.492 MB / 0.8542 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: 5.630244922358543]