Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001774/0.001774, allocations: 113 kB / 18.94 MB, free: 2.934 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.002053/0.002053, allocations: 208 kB / 22.25 MB, free: 5.082 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.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.49 GB / 0.7951 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_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.003413/0.003413, allocations: 70.86 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3897, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004137/0.3939, allocations: 2.316 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.3966, allocations: 1.626 MB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.3968, allocations: 3.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.3974, allocations: 183.1 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.3979, allocations: 175.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.3983, allocations: 135.6 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.3987, allocations: 283 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3989, allocations: 36.92 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.3991, allocations: 119.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.3992, allocations: 119.4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.3993, allocations: 16 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3994, allocations: 59.97 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3995, allocations: 103.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3997, allocations: 146.9 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.4002, allocations: 406 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4002, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4002, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.4002, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 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.001291/0.4015, allocations: 0.6568 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.4016, allocations: 8.031 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.4016, allocations: 42.73 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.4017, allocations: 52.61 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006142/0.4023, allocations: 357.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.4024, allocations: 12.12 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.4024, allocations: 8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.4027, allocations: 93.64 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4027, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.4027, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4027, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4028, allocations: 51.91 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.4038, allocations: 467.5 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.4042, allocations: 110.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.4043, allocations: 36.83 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.4043, allocations: 7.938 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.4045, allocations: 87.31 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.4045, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004602/0.405, allocations: 185.2 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.4051, allocations: 51.41 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.4057, allocations: 0.5145 MB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.4057, allocations: 29.7 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4059, allocations: 224 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.406, allocations: 31.73 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.4061, allocations: 49.7 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4063, allocations: 358.8 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4064, allocations: 55.97 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4065, allocations: 70.55 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.4067, allocations: 107.1 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4067, allocations: 7.969 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003465/0.4071, allocations: 209.3 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4071, allocations: 4 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4071, allocations: 0 / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4071, allocations: 4 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4073, allocations: 43.89 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4073, allocations: 0 / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4074, allocations: 15.95 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.4074, allocations: 11.98 kB / 1.335 GB, free: 8.035 MB / 1.029 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.0002217/0.4076, allocations: 194.9 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.4077, allocations: 47.67 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.408, allocations: 162 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.408, allocations: 96 / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.408, allocations: 3.938 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.408, allocations: 0 / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.4084, allocations: 296.4 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4084, allocations: 0 / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.4084, allocations: 11.94 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4085, allocations: 4 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.4085, allocations: 11.98 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4085, allocations: 0 / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4085, allocations: 0 / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.4089, allocations: 216.6 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.409, allocations: 43.67 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.409, allocations: 4 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.4091, allocations: 8.062 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.4092, allocations: 15.97 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4092, allocations: 4 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004734/0.4097, allocations: 358.8 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4097, allocations: 0 / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003081/0.41, allocations: 55.88 kB / 1.337 GB, free: 6.547 MB / 1.029 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.002288/0.4123, allocations: 1.06 MB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.4126, allocations: 109.5 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4126, allocations: 0 / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.4127, allocations: 35.98 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4131, allocations: 73.38 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.4173, allocations: 3.191 MB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.4179, allocations: 0.8221 MB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.418, allocations: 37.92 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.4182, allocations: 127.4 kB / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4182, allocations: 3.938 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.4575, allocations: 8 MB / 1.35 GB, free: 9.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.04, allocations: 8.375 kB / 1.35 GB, free: 9.234 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.10259529412724]