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.001796/0.001796, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00246/0.00246, allocations: 215.1 kB / 23.04 MB, free: 5.066 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.612/1.612, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.835/2.835, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",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.002054/0.002054, allocations: 59.17 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004273/0.381, allocations: 2.32 MB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3838, allocations: 1.622 MB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.384, allocations: 3.938 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.3847, allocations: 183.1 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.3853, allocations: 183.1 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.3856, allocations: 131.6 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.3861, allocations: 287 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3862, allocations: 36.91 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.3864, allocations: 119.5 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3867, allocations: 119.4 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.3867, allocations: 12 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3868, allocations: 55.97 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.387, allocations: 111.5 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3871, allocations: 150.9 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.3877, allocations: 406.2 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3877, allocations: 0 / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3877, allocations: 0 / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3877, allocations: 0 / 1.29 GB, free: 6.02 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.001247/0.3889, allocations: 0.6591 MB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.389, allocations: 8.031 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.951e-05/0.389, allocations: 8.188 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.389, allocations: 34.75 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3891, allocations: 52.61 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.3897, allocations: 357.3 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3897, allocations: 7.938 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.3898, allocations: 12 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.39, allocations: 93.58 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.39, allocations: 0 / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.39, allocations: 8 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.39, allocations: 4 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3902, allocations: 55.91 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.391, allocations: 463.5 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.3914, allocations: 110.7 kB / 1.292 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.3915, allocations: 32.84 kB / 1.292 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3915, allocations: 3.938 kB / 1.292 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3917, allocations: 91.36 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3917, allocations: 0 / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004265/0.3921, allocations: 181.2 kB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3922, allocations: 51.41 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.3928, allocations: 0.5107 MB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3928, allocations: 33.7 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.393, allocations: 220 kB / 1.293 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.393, allocations: 39.67 kB / 1.293 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.3931, allocations: 45.7 kB / 1.293 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3933, allocations: 358.8 kB / 1.293 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3935, allocations: 51.98 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3936, allocations: 78.55 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.3938, allocations: 107.6 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3938, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003721/0.3942, allocations: 209.3 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3942, allocations: 8 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.3942, allocations: 4.062 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3942, allocations: 0 / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3944, allocations: 35.92 kB / 1.294 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3944, allocations: 4 kB / 1.294 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.3945, allocations: 15.94 kB / 1.294 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3946, allocations: 8 kB / 1.294 GB, free: 1.898 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.0002182/0.3948, allocations: 189.7 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.3948, allocations: 48.05 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.3952, allocations: 165.6 kB / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3952, allocations: 0 / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3952, allocations: 0 / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.3952, allocations: 0 / 1.294 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3955, allocations: 300.4 kB / 1.294 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3955, allocations: 4 kB / 1.294 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.3956, allocations: 11.92 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3956, allocations: 4 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3956, allocations: 4 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3956, allocations: 0 / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3956, allocations: 4 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.396, allocations: 224.6 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.396, allocations: 35.75 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.3961, allocations: 4 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.3962, allocations: 11.98 kB / 1.294 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3962, allocations: 15.98 kB / 1.295 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3962, allocations: 4.062 kB / 1.295 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004041/0.3966, allocations: 358.8 kB / 1.295 GB, free: 480 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3966, allocations: 4 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000283/0.3969, allocations: 51.89 kB / 1.295 GB, free: 424 kB / 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 (9): * Single equations (assignments): 7 * 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.002223/0.3991, allocations: 1.061 MB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3995, allocations: 107.8 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3995, allocations: 0 / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3996, allocations: 43.92 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.4, allocations: 74.28 kB / 1.296 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.4043, allocations: 3.177 MB / 1.299 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.4048, allocations: 0.826 MB / 1.3 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.4049, allocations: 37.92 kB / 1.3 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.4051, allocations: 131.4 kB / 1.3 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.4051, allocations: 0 / 1.3 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.438, allocations: 8.02 MB / 1.308 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.94, allocations: 6.297 kB / 1.308 GB, free: 3.09 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: 19.045542751962785]