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.002/0.002, allocations: 119.4 kB / 17.13 MB, free: 5.941 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.002208/0.002208, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.685/2.685, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 176] 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.002487/0.002487, allocations: 75.86 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3508, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004245/0.355, allocations: 2.484 MB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3577, allocations: 1.58 MB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.3579, allocations: 7.938 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009569/0.3588, allocations: 326.8 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.3593, allocations: 219.1 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.36, allocations: 270.5 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.3605, allocations: 382.8 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3606, allocations: 48.72 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.3609, allocations: 167.2 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.3611, allocations: 175.2 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.3612, allocations: 20 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3614, allocations: 75.91 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3616, allocations: 135.4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.3618, allocations: 182.7 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.3624, allocations: 0.5054 MB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3624, allocations: 4 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3624, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.3624, allocations: 0 / 1.22 GB, free: 10.35 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.001361/0.3638, allocations: 0.8528 MB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3638, allocations: 8.031 kB / 1.221 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3639, allocations: 64.52 kB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.3645, allocations: 441.4 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3646, allocations: 15.94 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.3646, allocations: 11.98 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3649, allocations: 139.3 kB / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3649, allocations: 0 / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3649, allocations: 4 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3649, allocations: 7.938 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.3651, allocations: 63.91 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.366, allocations: 0.5784 MB / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.3664, allocations: 118.8 kB / 1.223 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3665, allocations: 40.84 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3665, allocations: 4 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.3668, allocations: 111.3 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3668, allocations: 3.938 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005608/0.3673, allocations: 233.4 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.3674, allocations: 85.11 kB / 1.223 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.3682, allocations: 0.6876 MB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3682, allocations: 33.7 kB / 1.224 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.3685, allocations: 264.4 kB / 1.224 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.3685, allocations: 39.72 kB / 1.224 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.3686, allocations: 53.7 kB / 1.224 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3688, allocations: 374.7 kB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.369, allocations: 71.97 kB / 1.225 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3692, allocations: 127.9 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3695, allocations: 132.8 kB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3695, allocations: 7.875 kB / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005067/0.37, allocations: 279.8 kB / 1.225 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.37, allocations: 4 kB / 1.225 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.37, allocations: 4 kB / 1.225 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.37, allocations: 0 / 1.225 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.3702, allocations: 35.97 kB / 1.225 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3702, allocations: 0 / 1.225 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.3704, allocations: 27.88 kB / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3704, allocations: 4 kB / 1.225 GB, free: 5.203 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.0002499/0.3707, allocations: 223.5 kB / 1.225 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.3707, allocations: 59.56 kB / 1.225 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.826e-05/0.3708, allocations: 57.05 kB / 1.226 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3708, allocations: 4 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3708, allocations: 0 / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3708, allocations: 0 / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.3712, allocations: 361.4 kB / 1.226 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3712, allocations: 3.938 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.3713, allocations: 15.92 kB / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3713, allocations: 0 / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3713, allocations: 12 kB / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3713, allocations: 3.984 kB / 1.226 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3713, allocations: 0 / 1.226 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3717, allocations: 220.7 kB / 1.226 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3718, allocations: 140.6 kB / 1.226 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.3719, allocations: 4 kB / 1.226 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.372, allocations: 11.98 kB / 1.226 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3721, allocations: 19.98 kB / 1.226 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3721, allocations: 7.984 kB / 1.226 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005623/0.3727, allocations: 463 kB / 1.227 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3727, allocations: 4 kB / 1.227 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003249/0.373, allocations: 75.81 kB / 1.227 GB, free: 3.457 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * 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.001545/0.3745, allocations: 435.1 kB / 1.227 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.3749, allocations: 147.9 kB / 1.227 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3749, allocations: 0 / 1.227 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3751, allocations: 51.92 kB / 1.227 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.3756, allocations: 89.91 kB / 1.228 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3771, allocations: 0.8881 MB / 1.228 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.3776, allocations: 0.8617 MB / 1.229 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.3777, allocations: 39.36 kB / 1.229 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3777, allocations: 0 / 1.229 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of Templates: time 0.009823/0.3876, allocations: 5.766 MB / 1.235 GB, free: 11.35 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.950696237850934]