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.001438/0.001438, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001741/0.001741, allocations: 216 kB / 22.25 MB, free: 5.125 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.008 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.964/2.964, allocations: 476.7 MB / 0.7707 GB, free: 4.285 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="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.00207/0.00207, allocations: 69.91 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004542/0.3762, allocations: 2.32 MB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.3792, allocations: 1.618 MB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.3794, allocations: 7.938 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.3801, allocations: 183.1 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.3807, allocations: 183.1 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.3811, allocations: 131.6 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.3817, allocations: 279.1 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3818, allocations: 44.88 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.3821, allocations: 115.5 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3823, allocations: 127.3 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.3823, allocations: 12 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.3825, allocations: 55.97 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3826, allocations: 99.62 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3828, allocations: 158.8 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.3834, allocations: 398.2 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3834, allocations: 3.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3834, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3834, allocations: 3.938 kB / 1.289 GB, free: 5.859 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.001316/0.3847, allocations: 0.6553 MB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3848, allocations: 8.031 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.3848, allocations: 42.73 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.3849, allocations: 52.61 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.3856, allocations: 357.3 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3856, allocations: 8.125 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.3856, allocations: 8 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3858, allocations: 93.64 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3858, allocations: 0 / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3859, allocations: 0 / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3859, allocations: 0 / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.386, allocations: 63.91 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.3869, allocations: 467.5 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3873, allocations: 106.7 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.3873, allocations: 32.84 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3874, allocations: 3.984 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3876, allocations: 87.38 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.3876, allocations: 0 / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004217/0.388, allocations: 185.2 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.388, allocations: 51.41 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.3886, allocations: 0.5146 MB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3887, allocations: 25.7 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.3889, allocations: 232 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.3889, allocations: 31.73 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.389, allocations: 45.7 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3892, allocations: 362.8 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3893, allocations: 47.97 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.3895, allocations: 84.61 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3897, allocations: 95.59 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.3897, allocations: 3.938 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003755/0.39, allocations: 213.2 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3901, allocations: 4 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3901, allocations: 0 / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3901, allocations: 4 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3903, allocations: 51.97 kB / 1.293 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3903, allocations: 3.984 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3904, allocations: 11.95 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3904, allocations: 8 kB / 1.293 GB, free: 1.742 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.0002001/0.3906, allocations: 193.7 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.3907, allocations: 43.72 kB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.391, allocations: 161.6 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.391, allocations: 8 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.391, allocations: 0 / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.391, allocations: 0 / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.3913, allocations: 300.4 kB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3913, allocations: 0 / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.3914, allocations: 11.94 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3914, allocations: 480 / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3914, allocations: 3.938 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3914, allocations: 0 / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3914, allocations: 4 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.3918, allocations: 232.6 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.3919, allocations: 31.75 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3919, allocations: 11.98 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.392, allocations: 4 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.3921, allocations: 11.97 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3921, allocations: 8 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004176/0.3925, allocations: 354.8 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3925, allocations: 4.062 kB / 1.294 GB, free: 320 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002983/0.3928, allocations: 51.89 kB / 1.294 GB, free: 268 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.002293/0.3951, allocations: 1.06 MB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3954, allocations: 111.8 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3954, allocations: 0 / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.3955, allocations: 31.98 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3959, allocations: 77.28 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.4002, allocations: 3.18 MB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.4007, allocations: 0.826 MB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.4008, allocations: 45.91 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.401, allocations: 131.4 kB / 1.299 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.401, allocations: 0 / 1.299 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.4418, allocations: 7.98 MB / 1.307 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.01, allocations: 0 / 1.307 GB, free: 2.973 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.054116874933243]