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.001433/0.001433, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001811/0.001811, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.609/1.609, allocations: 230.6 MB / 256 MB, free: 7.789 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.726/3.726, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_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_latest_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.002089/0.002089, allocations: 73.33 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4934, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004866/0.4983, allocations: 2.216 MB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.5015, allocations: 1.502 MB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.5017, allocations: 7.938 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.5025, allocations: 167.6 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.5031, allocations: 187.1 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.5035, allocations: 135.6 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.504, allocations: 283 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.5042, allocations: 32.92 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.5044, allocations: 111.5 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.5047, allocations: 115.4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.5047, allocations: 16 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.5049, allocations: 55.92 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.5051, allocations: 99.67 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.5052, allocations: 115 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006579/0.5059, allocations: 414 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5059, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5059, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.5059, allocations: 0 / 1.369 GB, free: 8.094 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.001421/0.5073, allocations: 0.6514 MB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5074, allocations: 8.031 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.5075, allocations: 52.61 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.5082, allocations: 357.3 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.5082, allocations: 12.38 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.5082, allocations: 15.88 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.5085, allocations: 119.3 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5086, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.5086, allocations: 4 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5086, allocations: 0 / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.5088, allocations: 59.95 kB / 1.37 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.5097, allocations: 408.2 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.5099, allocations: 94.58 kB / 1.371 GB, free: 6.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.51, allocations: 28.98 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.5101, allocations: 4 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.5103, allocations: 117 kB / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.5103, allocations: 4 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004935/0.5108, allocations: 177.2 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.5109, allocations: 55.34 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.5116, allocations: 0.5029 MB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.5117, allocations: 37.7 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.5119, allocations: 232.1 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.512, allocations: 27.78 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5121, allocations: 49.66 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.5123, allocations: 358.8 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.5124, allocations: 51.98 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.5126, allocations: 105.2 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.5128, allocations: 103.5 kB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5128, allocations: 0 / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003714/0.5132, allocations: 217.2 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5132, allocations: 7.938 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5132, allocations: 384 / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.5132, allocations: 4 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.5134, allocations: 39.97 kB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5134, allocations: 0 / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5136, allocations: 15.94 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.5136, allocations: 11.98 kB / 1.373 GB, free: 4.012 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.0002418/0.5138, allocations: 185.8 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.514, allocations: 55.61 kB / 1.373 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.5143, allocations: 161.6 kB / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5143, allocations: 0 / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5143, allocations: 0 / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5143, allocations: 0 / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.5147, allocations: 257.1 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5147, allocations: 0 / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.5147, allocations: 8 kB / 1.374 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.5148, allocations: 7.922 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.5148, allocations: 7.984 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5148, allocations: 8 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5148, allocations: 0 / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.5152, allocations: 220.7 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.5153, allocations: 43.64 kB / 1.374 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.5153, allocations: 4 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.5154, allocations: 4 kB / 1.374 GB, free: 3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.5155, allocations: 19.91 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.5155, allocations: 4 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004788/0.516, allocations: 362.8 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.516, allocations: 0 / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002832/0.5163, allocations: 52 kB / 1.374 GB, free: 2.574 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.001828/0.5181, allocations: 441.6 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.5184, allocations: 103.9 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5184, allocations: 0 / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.5185, allocations: 39.91 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.519, allocations: 73.75 kB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5204, allocations: 0.7111 MB / 1.376 GB, free: 1.379 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.5207, allocations: 224.8 kB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000136/0.5208, allocations: 37.92 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.5209, allocations: 31.42 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.5209, allocations: 0 / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of Templates: time 0.0105/0.5314, allocations: 3.564 MB / 1.379 GB, free: 13.55 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 800] 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/jenkins/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: 10.533082799986005]