Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001709/0.001709, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001979/0.001979, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.805 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.824/2.824, allocations: 476 MB / 0.7699 GB, free: 4.727 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [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.002172/0.002172, allocations: 66.7 kB / 1.117 GB, free: 40.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3597, allocations: 170 MB / 1.283 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00448/0.3641, allocations: 2.217 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.3671, allocations: 1.498 MB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3673, allocations: 3.938 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.3679, allocations: 175.2 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.3685, allocations: 183.1 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3688, allocations: 131.6 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.3693, allocations: 286.9 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3694, allocations: 36.89 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3696, allocations: 107.6 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.3698, allocations: 115.3 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.3699, allocations: 16 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.37, allocations: 59.97 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.3702, allocations: 107.5 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3703, allocations: 107.1 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.3708, allocations: 419.4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3708, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3709, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3709, allocations: 0 / 1.288 GB, free: 6.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001126/0.372, allocations: 0.6572 MB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.372, allocations: 12.03 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.3721, allocations: 38.75 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3722, allocations: 48.61 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.3727, allocations: 361.3 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3728, allocations: 8.125 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3728, allocations: 8 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3731, allocations: 119.3 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3731, allocations: 3.984 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3731, allocations: 4 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3731, allocations: 4 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3732, allocations: 55.97 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.3741, allocations: 443.5 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.3743, allocations: 90.67 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.3744, allocations: 36.83 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3744, allocations: 0 / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.3746, allocations: 113.1 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3746, allocations: 4 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004058/0.375, allocations: 181.2 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3751, allocations: 51.41 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/0.3757, allocations: 0.5067 MB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3757, allocations: 33.7 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.3759, allocations: 228.5 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.376, allocations: 35.72 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.376, allocations: 49.64 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3762, allocations: 362.8 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.3764, allocations: 51.92 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3765, allocations: 108.2 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3767, allocations: 93.69 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3767, allocations: 3.938 kB / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003662/0.3771, allocations: 215.1 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3771, allocations: 6.656 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3771, allocations: 4 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3771, allocations: 0 / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.3773, allocations: 35.98 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3773, allocations: 4.062 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3774, allocations: 19.88 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.3775, allocations: 12 kB / 1.292 GB, free: 2.641 MB / 0.9825 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.0002111/0.3777, allocations: 185.7 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.3777, allocations: 47.72 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.3781, allocations: 157.6 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3781, allocations: 0 / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3781, allocations: 0 / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3781, allocations: 0 / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.3784, allocations: 288.5 kB / 1.292 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3784, allocations: 0 / 1.292 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.3784, allocations: 11.98 kB / 1.292 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3784, allocations: 0 / 1.292 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3785, allocations: 0 / 1.292 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3785, allocations: 7.938 kB / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3785, allocations: 0 / 1.292 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.3789, allocations: 228.6 kB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.3789, allocations: 39.69 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.379, allocations: 4 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.3791, allocations: 12.23 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3791, allocations: 7.984 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3791, allocations: 19.92 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004091/0.3796, allocations: 354.8 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3796, allocations: 3.938 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002972/0.3799, allocations: 55.89 kB / 1.293 GB, free: 1.172 MB / 0.9825 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.002312/0.3822, allocations: 1.092 MB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.3825, allocations: 103.9 kB / 1.294 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3825, allocations: 4 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3826, allocations: 39.92 kB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.383, allocations: 74.19 kB / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.3871, allocations: 3.166 MB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3874, allocations: 225.4 kB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.3875, allocations: 37.92 kB / 1.298 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.3877, allocations: 135.4 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.3877, allocations: 0 / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.4295, allocations: 8.538 MB / 1.306 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.95, allocations: 14.97 kB / 1.306 GB, free: 3.926 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.791693405248225]