Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002149/0.002149, allocations: 213.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.08 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3487, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004499/0.3532, allocations: 2.405 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.3563, allocations: 1.622 MB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.3565, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.3576, allocations: 318.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006473/0.3582, allocations: 270.9 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.3588, allocations: 209.5 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.3593, allocations: 410.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.3594, allocations: 52.81 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.3597, allocations: 167.3 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.3599, allocations: 179.1 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.36, allocations: 24 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3602, allocations: 83.88 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.3603, allocations: 123.5 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3605, allocations: 146.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3612, allocations: 0.5288 MB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3612, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3612, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3612, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 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.001428/0.3627, allocations: 0.7853 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3627, allocations: 12.03 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.3628, allocations: 64.52 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.3635, allocations: 387.3 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3635, allocations: 20.05 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.3635, allocations: 12 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.3639, allocations: 145.2 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3639, allocations: 0 / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.3639, allocations: 3.984 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3639, allocations: 0 / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.3641, allocations: 83.84 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009959/0.3651, allocations: 0.4924 MB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.3654, allocations: 118.8 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3656, allocations: 44.84 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3656, allocations: 0 / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3659, allocations: 148.9 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3659, allocations: 4 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005886/0.3665, allocations: 239.4 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3665, allocations: 59.34 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.3674, allocations: 0.7073 MB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3674, allocations: 33.7 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.3677, allocations: 272.4 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.3677, allocations: 31.75 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.3678, allocations: 57.69 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.368, allocations: 374.7 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3682, allocations: 79.97 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.3685, allocations: 170.5 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3687, allocations: 140.8 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3688, allocations: 0 / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005145/0.3693, allocations: 289 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3693, allocations: 6.344 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3693, allocations: 3.938 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3693, allocations: 12.08 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3695, allocations: 31.98 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3695, allocations: 0 / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.3697, allocations: 23.88 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3697, allocations: 11.94 kB / 1.337 GB, free: 6.25 MB / 1.029 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.0002537/0.3699, allocations: 212 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.37, allocations: 55.62 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.3705, allocations: 236.8 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3705, allocations: 4 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3706, allocations: 0 / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3706, allocations: 3.984 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.3709, allocations: 301 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3709, allocations: 0 / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.371, allocations: 8 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.371, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.371, allocations: 11.98 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.371, allocations: 3.938 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.371, allocations: 3.984 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.3714, allocations: 244.6 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3715, allocations: 59.5 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.3716, allocations: 8 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3717, allocations: 19.92 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.3718, allocations: 11.97 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3718, allocations: 12 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005797/0.3724, allocations: 483 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003242/0.3727, allocations: 59.94 kB / 1.339 GB, free: 4.488 MB / 1.029 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.001761/0.3744, allocations: 470 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.3748, allocations: 153.7 kB / 1.34 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3748, allocations: 4 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.375, allocations: 55.91 kB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.3755, allocations: 90.98 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.377, allocations: 0.9229 MB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3773, allocations: 266.7 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.3774, allocations: 31.42 kB / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3774, allocations: 0 / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of Templates: time 0.01049/0.3879, allocations: 6.108 MB / 1.347 GB, free: 12.55 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.478894477710128]