Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001339/0.001339, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001495/0.001495, allocations: 207.1 kB / 22.99 MB, free: 4.965 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002127/0.002127, allocations: 68.09 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3543, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004824/0.3591, allocations: 2.409 MB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.3624, allocations: 1.622 MB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.3628, allocations: 7.938 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3639, allocations: 318.7 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007978/0.3647, allocations: 263.7 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.3654, allocations: 215.4 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.366, allocations: 410.6 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3662, allocations: 48.83 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.3665, allocations: 167.3 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.3668, allocations: 171.2 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.886e-05/0.3669, allocations: 20 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.3672, allocations: 83.94 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.3673, allocations: 139.4 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.3675, allocations: 142.9 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.3683, allocations: 0.5171 MB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3683, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3683, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.3683, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 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.001642/0.37, allocations: 0.7969 MB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.37, allocations: 8.031 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3702, allocations: 64.52 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.3709, allocations: 379.4 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3709, allocations: 16.06 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3709, allocations: 8 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3712, allocations: 149.6 kB / 1.292 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3712, allocations: 3.938 kB / 1.292 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.3713, allocations: 4 kB / 1.292 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3713, allocations: 4 kB / 1.292 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.3715, allocations: 75.89 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3725, allocations: 0.4923 MB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.3728, allocations: 130.7 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3729, allocations: 40.84 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.373, allocations: 3.984 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.3732, allocations: 141 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.3732, allocations: 0 / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006306/0.3739, allocations: 249.1 kB / 1.293 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.3739, allocations: 59.34 kB / 1.293 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/0.3748, allocations: 0.7073 MB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3749, allocations: 33.7 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3751, allocations: 264.5 kB / 1.294 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.3752, allocations: 47.67 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3753, allocations: 49.7 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.3755, allocations: 374.8 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.3757, allocations: 71.97 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3759, allocations: 178 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3762, allocations: 141.7 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3762, allocations: 4 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005111/0.3767, allocations: 281.1 kB / 1.295 GB, free: 436 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3767, allocations: 4 kB / 1.295 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3767, allocations: 7.938 kB / 1.295 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3767, allocations: 0 / 1.295 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3769, allocations: 39.92 kB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3769, allocations: 4.062 kB / 1.295 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3771, allocations: 31.81 kB / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.3771, allocations: 4 kB / 1.295 GB, free: 344 kB / 0.9825 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.0002602/0.3774, allocations: 211.5 kB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.3775, allocations: 59.62 kB / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.3779, allocations: 226.8 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.378, allocations: 7.969 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.378, allocations: 4 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.378, allocations: 4 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3783, allocations: 293 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3783, allocations: 0 / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.3784, allocations: 15.92 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.3784, allocations: 7.938 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3784, allocations: 4 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3784, allocations: 3.938 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3784, allocations: 0 / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3788, allocations: 238.2 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.3789, allocations: 63.55 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.379, allocations: 8 kB / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3791, allocations: 15.92 kB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.3792, allocations: 19.97 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3792, allocations: 8 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005986/0.3798, allocations: 483 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3798, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003374/0.3801, allocations: 71.89 kB / 1.296 GB, free: 14.57 MB / 0.9981 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.001818/0.3819, allocations: 456.2 kB / 1.297 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.3824, allocations: 159.8 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3824, allocations: 0 / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3825, allocations: 55.92 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.3831, allocations: 101.2 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.3847, allocations: 0.9204 MB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3851, allocations: 263.4 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3852, allocations: 35.42 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3852, allocations: 0 / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of Templates: time 0.01154/0.3967, allocations: 6.117 MB / 1.304 GB, free: 6.633 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.214818221051246]