Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.00179/0.00179, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002187/0.002187, allocations: 219.1 kB / 22.99 MB, free: 4.914 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.232/3.232, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [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.002141/0.002141, allocations: 64.45 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.359, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004256/0.3632, allocations: 2.229 MB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.3662, allocations: 1.498 MB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.3664, allocations: 0 / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.3671, allocations: 179.6 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.3677, allocations: 179.1 kB / 1.369 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3681, allocations: 135.6 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000469/0.3686, allocations: 283 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3688, allocations: 36.92 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.369, allocations: 111.5 kB / 1.369 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.3692, allocations: 119.3 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.3692, allocations: 12 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3694, allocations: 55.98 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3695, allocations: 103.6 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3697, allocations: 111.1 kB / 1.37 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.3703, allocations: 410 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3703, allocations: 0 / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3703, allocations: 0 / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.3703, allocations: 0 / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001363/0.3717, allocations: 0.6553 MB / 1.371 GB, free: 7.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3717, allocations: 8.031 kB / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.3718, allocations: 48.61 kB / 1.371 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.3724, allocations: 357.3 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3725, allocations: 8.375 kB / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.3725, allocations: 7.938 kB / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3728, allocations: 129.8 kB / 1.371 GB, free: 6.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3728, allocations: 4 kB / 1.371 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3728, allocations: 7.922 kB / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3728, allocations: 4 kB / 1.371 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.373, allocations: 55.97 kB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.3738, allocations: 412.1 kB / 1.372 GB, free: 6.355 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3741, allocations: 90.58 kB / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.258e-05/0.3741, allocations: 28.98 kB / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3742, allocations: 4 kB / 1.372 GB, free: 6.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.3745, allocations: 121 kB / 1.372 GB, free: 6.086 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3745, allocations: 0 / 1.372 GB, free: 6.086 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004562/0.3749, allocations: 173.3 kB / 1.372 GB, free: 5.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.375, allocations: 59.34 kB / 1.372 GB, free: 5.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.3756, allocations: 0.5067 MB / 1.373 GB, free: 5.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3757, allocations: 29.7 kB / 1.373 GB, free: 5.285 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.3759, allocations: 236.1 kB / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.3759, allocations: 27.78 kB / 1.373 GB, free: 5.023 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-05/0.376, allocations: 49.66 kB / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3762, allocations: 362.8 kB / 1.373 GB, free: 4.605 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3764, allocations: 47.98 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.3765, allocations: 105.7 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3768, allocations: 107.1 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3768, allocations: 0 / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004892/0.3773, allocations: 217.2 kB / 1.374 GB, free: 4.113 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3773, allocations: 4 kB / 1.374 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3773, allocations: 0 / 1.374 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3773, allocations: 4.062 kB / 1.374 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.3775, allocations: 39.97 kB / 1.374 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3775, allocations: 4 kB / 1.374 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3776, allocations: 4 kB / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.3777, allocations: 16.36 kB / 1.374 GB, free: 4.043 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002089/0.3779, allocations: 186.8 kB / 1.374 GB, free: 3.852 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.3779, allocations: 51.61 kB / 1.374 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.3783, allocations: 161.6 kB / 1.374 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3783, allocations: 4 kB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3783, allocations: 4 kB / 1.374 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3783, allocations: 0 / 1.374 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3786, allocations: 253.1 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3786, allocations: 0 / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.3786, allocations: 8 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3786, allocations: 7.938 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3787, allocations: 7.984 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3787, allocations: 0 / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3787, allocations: 3.984 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3791, allocations: 220.7 kB / 1.375 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.3792, allocations: 47.7 kB / 1.375 GB, free: 3.039 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3792, allocations: 8 kB / 1.375 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.3793, allocations: 11.92 kB / 1.375 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.3793, allocations: 11.98 kB / 1.375 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3794, allocations: 4 kB / 1.375 GB, free: 3.004 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3798, allocations: 366.8 kB / 1.375 GB, free: 2.648 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3798, allocations: 0 / 1.375 GB, free: 2.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000286/0.3801, allocations: 47.94 kB / 1.375 GB, free: 2.602 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001817/0.3819, allocations: 443.1 kB / 1.375 GB, free: 2.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.3822, allocations: 102.3 kB / 1.376 GB, free: 2.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.3822, allocations: 4 kB / 1.376 GB, free: 2.242 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3823, allocations: 35.92 kB / 1.376 GB, free: 2.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3828, allocations: 67.25 kB / 1.376 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3841, allocations: 0.7558 MB / 1.376 GB, free: 1.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3843, allocations: 232.7 kB / 1.377 GB, free: 1.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.3844, allocations: 23.44 kB / 1.377 GB, free: 1.09 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.3844, allocations: 0 / 1.377 GB, free: 1.09 MB / 1.061 GB Notification: Performance of Templates: time 0.009749/0.3942, allocations: 4.858 MB / 1.381 GB, free: 12.24 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.166004144120961]