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.001594/0.001594, 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.002243/0.002243, allocations: 211.7 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.667/1.667, allocations: 230.6 MB / 256 MB, free: 7.777 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.574/3.574, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [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.002235/0.002235, allocations: 66.14 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5389, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005017/0.5439, allocations: 2.216 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.5473, allocations: 1.506 MB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.5475, allocations: 3.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008064/0.5483, allocations: 167.2 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.5488, allocations: 187.1 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.5493, allocations: 139.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.5497, allocations: 283 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.5499, allocations: 36.81 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.5501, allocations: 107.5 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.5503, allocations: 115.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.5504, allocations: 16 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.5506, allocations: 59.97 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.5507, allocations: 95.61 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.5509, allocations: 123 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006436/0.5515, allocations: 406.1 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.5515, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.366e-06/0.5515, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5516, allocations: 0 / 1.331 GB, free: 12.36 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.001386/0.5529, allocations: 0.6553 MB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.553, allocations: 8.031 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5531, allocations: 52.61 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.5537, allocations: 365.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.5538, allocations: 8.359 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.5538, allocations: 15.94 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.5541, allocations: 121.7 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5541, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.5541, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5541, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.5543, allocations: 51.97 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.5551, allocations: 420.1 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.5554, allocations: 90.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.5555, allocations: 28.84 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.5556, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.5558, allocations: 113 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5558, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004688/0.5563, allocations: 169.6 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.5563, allocations: 63.44 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.557, allocations: 0.5145 MB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.557, allocations: 29.69 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5573, allocations: 232.1 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.5573, allocations: 31.73 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.5574, allocations: 49.7 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.5576, allocations: 358.8 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.5578, allocations: 51.97 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.5579, allocations: 97.75 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5582, allocations: 111.2 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5582, allocations: 4.031 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004102/0.5586, allocations: 215.1 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5586, allocations: 4 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5586, allocations: 0 / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.5586, allocations: 7.984 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.5588, allocations: 27.98 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.5588, allocations: 7.938 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.559, allocations: 19.94 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.559, allocations: 4 kB / 1.335 GB, free: 8.273 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.0002432/0.5592, allocations: 192.7 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.5593, allocations: 51.61 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.5597, allocations: 165.6 kB / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.5597, allocations: 0 / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5597, allocations: 0 / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5597, allocations: 0 / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.56, allocations: 249.1 kB / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.56, allocations: 0 / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.56, allocations: 23.98 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.56, allocations: 3.938 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5601, allocations: 4 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5601, allocations: 0 / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5601, allocations: 0 / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.5605, allocations: 228.7 kB / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.5606, allocations: 39.69 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.5606, allocations: 4 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5607, allocations: 11.98 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.5608, allocations: 15.91 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5608, allocations: 7.984 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004295/0.5612, allocations: 358.8 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5612, allocations: 4.062 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002865/0.5615, allocations: 55.89 kB / 1.336 GB, free: 6.824 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 (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.001873/0.5634, allocations: 443.5 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.5637, allocations: 99.91 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5637, allocations: 0 / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5639, allocations: 47.91 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.5643, allocations: 62.62 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.5657, allocations: 0.7071 MB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.566, allocations: 228.8 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.5662, allocations: 33.94 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.5662, allocations: 27.44 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of SimCode: time 1.202e-06/0.5662, allocations: 0 / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of Templates: time 0.009759/0.576, allocations: 3.559 MB / 1.341 GB, free: 1.824 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.771666897460818]