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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001594/0.001594, allocations: 212 kB / 22.24 MB, free: 5.262 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.785 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.309/3.309, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_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.002231/0.002231, allocations: 75.28 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3655, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003881/0.3693, allocations: 2.225 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.372, allocations: 1.498 MB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.3722, allocations: 4 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.3728, allocations: 175.6 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.3734, allocations: 187.1 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.3738, allocations: 135.6 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000452/0.3743, allocations: 279 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3744, allocations: 36.91 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3746, allocations: 115.4 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3748, allocations: 115.3 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.3749, allocations: 12 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3751, allocations: 59.97 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3752, allocations: 103.6 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3753, allocations: 111.1 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.3759, allocations: 410 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3759, allocations: 4 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3759, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.3759, allocations: 0 / 1.369 GB, free: 8.594 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.001246/0.3772, allocations: 0.6475 MB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3772, allocations: 12.03 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.3772, allocations: 34.75 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3774, allocations: 56.61 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.378, allocations: 361.3 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.378, allocations: 12.12 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.378, allocations: 11.94 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.3783, allocations: 115.3 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3783, allocations: 4 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3783, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3783, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3785, allocations: 55.97 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.3793, allocations: 443.6 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3796, allocations: 90.66 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.3797, allocations: 36.83 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3797, allocations: 4 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3799, allocations: 109 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3799, allocations: 4 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.000437/0.3804, allocations: 189.2 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3804, allocations: 51.78 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.3811, allocations: 0.5029 MB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3811, allocations: 33.7 kB / 1.371 GB, free: 5.668 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3813, allocations: 228.1 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3813, allocations: 31.73 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.3814, allocations: 53.64 kB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3816, allocations: 358.8 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3817, allocations: 47.98 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3819, allocations: 105.2 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3821, allocations: 107.5 kB / 1.372 GB, free: 4.719 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.3821, allocations: 3.938 kB / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003793/0.3825, allocations: 215.8 kB / 1.372 GB, free: 4.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3825, allocations: 4 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3825, allocations: 0 / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3825, allocations: 4 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.3827, allocations: 31.98 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3827, allocations: 0 / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3829, allocations: 20.02 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3829, allocations: 4 kB / 1.373 GB, free: 4.438 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.000225/0.3831, allocations: 190.3 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.3832, allocations: 55.64 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.3836, allocations: 169.6 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3836, allocations: 0 / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3836, allocations: 0 / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3836, allocations: 0 / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.3839, allocations: 280.5 kB / 1.373 GB, free: 3.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3839, allocations: 4 kB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.384, allocations: 16 kB / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.384, allocations: 0 / 1.373 GB, free: 3.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.384, allocations: 7.922 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.384, allocations: 0 / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.384, allocations: 4 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.3845, allocations: 224.8 kB / 1.373 GB, free: 3.426 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.3845, allocations: 39.77 kB / 1.373 GB, free: 3.387 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3846, allocations: 7.938 kB / 1.373 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.3847, allocations: 11.98 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.3847, allocations: 11.92 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3847, allocations: 8.062 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004099/0.3851, allocations: 362.8 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002829/0.3854, allocations: 47.94 kB / 1.374 GB, free: 2.949 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.002451/0.3879, allocations: 1.095 MB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3882, allocations: 107.8 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3882, allocations: 0 / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3883, allocations: 43.98 kB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.3888, allocations: 69.83 kB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.3934, allocations: 3.155 MB / 1.378 GB, free: 14.56 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3936, allocations: 220.8 kB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.3938, allocations: 41.92 kB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.394, allocations: 131.4 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of SimCode: time 1.343e-06/0.394, allocations: 4 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04242/0.4364, allocations: 8.561 MB / 1.387 GB, free: 5.695 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.04, allocations: 0 / 1.387 GB, free: 5.695 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 840.0] 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: 19.008152128197253]