Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.4 MB / 0.7304 GB, free: 14.12 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.059 GB, free: 464 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 160.7 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004164/0.3638, allocations: 2.509 MB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.3665, allocations: 1.592 MB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3667, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.3677, allocations: 326.7 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.3682, allocations: 218.8 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.3689, allocations: 279 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.3694, allocations: 378.8 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3696, allocations: 44.7 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.3698, allocations: 159.3 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.37, allocations: 179.1 kB / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.3701, allocations: 20 kB / 1.222 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.3703, allocations: 83.89 kB / 1.222 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3704, allocations: 131.5 kB / 1.222 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3706, allocations: 186.6 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.3713, allocations: 0.4977 MB / 1.223 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3713, allocations: 4 kB / 1.223 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3713, allocations: 3.938 kB / 1.223 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.3713, allocations: 0 / 1.223 GB, free: 8.824 MB / 0.9669 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.001345/0.3727, allocations: 0.8567 MB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3727, allocations: 8.031 kB / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3728, allocations: 72.5 kB / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/0.3734, allocations: 433.4 kB / 1.224 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3735, allocations: 19.94 kB / 1.224 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3735, allocations: 12 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3738, allocations: 138 kB / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3738, allocations: 0 / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3738, allocations: 0 / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3738, allocations: 7.938 kB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.374, allocations: 71.95 kB / 1.224 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.375, allocations: 0.5745 MB / 1.225 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.3754, allocations: 118.7 kB / 1.225 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3755, allocations: 52.83 kB / 1.225 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3755, allocations: 0 / 1.225 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.3758, allocations: 115.3 kB / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3758, allocations: 0 / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005637/0.3764, allocations: 237.3 kB / 1.225 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.3764, allocations: 81.11 kB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.3773, allocations: 0.6916 MB / 1.226 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3773, allocations: 29.7 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3775, allocations: 260.4 kB / 1.226 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.3776, allocations: 39.72 kB / 1.226 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3777, allocations: 53.69 kB / 1.226 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3779, allocations: 374.8 kB / 1.227 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3781, allocations: 63.97 kB / 1.227 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3783, allocations: 143.8 kB / 1.227 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.3786, allocations: 121 kB / 1.227 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3786, allocations: 7.938 kB / 1.227 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004989/0.3791, allocations: 277.1 kB / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3791, allocations: 8 kB / 1.227 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3791, allocations: 0 / 1.227 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3791, allocations: 0 / 1.227 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3794, allocations: 35.92 kB / 1.227 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3794, allocations: 4 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.3796, allocations: 23.88 kB / 1.227 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.3797, allocations: 12 kB / 1.227 GB, free: 3.672 MB / 0.9669 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.0003457/0.38, allocations: 219.4 kB / 1.228 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-05/0.3801, allocations: 63.56 kB / 1.228 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.3806, allocations: 198.7 kB / 1.228 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3806, allocations: 4 kB / 1.228 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3806, allocations: 0 / 1.228 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3806, allocations: 0 / 1.228 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.3811, allocations: 361.4 kB / 1.228 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3811, allocations: 7.875 kB / 1.228 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.3812, allocations: 11.98 kB / 1.228 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3812, allocations: 4 kB / 1.228 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3812, allocations: 0 / 1.228 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3812, allocations: 4 kB / 1.228 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3812, allocations: 3.938 kB / 1.228 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.3816, allocations: 232.3 kB / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3817, allocations: 128.7 kB / 1.228 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.3818, allocations: 8 kB / 1.229 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3819, allocations: 11.98 kB / 1.229 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.382, allocations: 15.98 kB / 1.229 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.382, allocations: 15.94 kB / 1.229 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000588/0.3826, allocations: 463 kB / 1.229 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3826, allocations: 0 / 1.229 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003643/0.383, allocations: 71.88 kB / 1.229 GB, free: 1.789 MB / 0.9669 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 (13): * Single equations (assignments): 9 * 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.001744/0.3847, allocations: 432.9 kB / 1.229 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3851, allocations: 143.9 kB / 1.23 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3851, allocations: 0 / 1.23 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3853, allocations: 51.92 kB / 1.23 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.3858, allocations: 101.2 kB / 1.23 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3873, allocations: 0.8592 MB / 1.231 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.3879, allocations: 0.8571 MB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.3881, allocations: 46.95 kB / 1.231 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.3881, allocations: 39.42 kB / 1.232 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of SimCode: time 7.42e-07/0.3881, allocations: 0 / 1.232 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of Templates: time 0.01119/0.3993, allocations: 4.419 MB / 1.236 GB, free: 11 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.575101331807673]