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.0008283/0.0008283, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008358/0.0008358, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.861/1.861, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.632e-05, allocations: 6.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002816/0.002843, allocations: 2.223 MB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.004512, allocations: 1.494 MB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.004627, allocations: 7.938 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.005125, allocations: 179.5 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.005454, allocations: 179 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.005652, allocations: 143.4 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.00594, allocations: 290.9 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.00608, allocations: 36.92 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.006226, allocations: 147.6 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.006359, allocations: 95.7 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.006385, allocations: 12 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.843e-05/0.006484, allocations: 59.91 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.006579, allocations: 111.5 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.006643, allocations: 67.73 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.006998, allocations: 390.5 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.007001, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007002, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.007007, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 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.0007851/0.007792, allocations: 0.6498 MB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.007832, allocations: 13.33 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.0079, allocations: 56.61 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.008289, allocations: 356.6 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.008305, allocations: 4.375 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.008332, allocations: 12.38 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.008514, allocations: 119.7 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.008525, allocations: 3.938 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.00854, allocations: 8 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.008545, allocations: 0 / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.008649, allocations: 55.91 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.009164, allocations: 416.2 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.009336, allocations: 90.7 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.009383, allocations: 32.84 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.009402, allocations: 4 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.009548, allocations: 117 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.00955, allocations: 0 / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002908/0.009841, allocations: 181.2 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.009876, allocations: 55.41 kB / 1.008 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.01026, allocations: 0.5107 MB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.01027, allocations: 33.7 kB / 1.009 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.0104, allocations: 220 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.01043, allocations: 27.75 kB / 1.009 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.01049, allocations: 57.62 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.0106, allocations: 354.8 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.01067, allocations: 51.97 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.938e-05/0.01076, allocations: 104.2 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.01088, allocations: 97.73 kB / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01088, allocations: 0 / 1.01 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002132/0.0111, allocations: 219.1 kB / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01111, allocations: 4 kB / 1.01 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01112, allocations: 7.922 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01113, allocations: 4 kB / 1.01 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.01125, allocations: 31.98 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01126, allocations: 0 / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.01132, allocations: 19.94 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.01134, allocations: 4.031 kB / 1.01 GB, free: 3.488 MB / 0.9636 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.0001366/0.01147, allocations: 191.6 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.01151, allocations: 43.72 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.01172, allocations: 169.6 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01172, allocations: 3.984 kB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01173, allocations: 3.984 kB / 1.01 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01173, allocations: 3.938 kB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.0119, allocations: 257.1 kB / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.0119, allocations: 480 / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.01195, allocations: 15.98 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01195, allocations: 4 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01196, allocations: 0 / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01197, allocations: 7.938 kB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01197, allocations: 3.938 kB / 1.011 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.01221, allocations: 220.7 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.01225, allocations: 35.75 kB / 1.011 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.01227, allocations: 7.984 kB / 1.011 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.01232, allocations: 11.94 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.01236, allocations: 15.91 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.01237, allocations: 4.062 kB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002497/0.01262, allocations: 362.8 kB / 1.011 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01262, allocations: 0 / 1.011 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001803/0.0128, allocations: 55.88 kB / 1.011 GB, free: 2.031 MB / 0.9636 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.0007561/0.01355, allocations: 451.2 kB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.01374, allocations: 103.9 kB / 1.012 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01375, allocations: 0 / 1.012 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-05/0.0138, allocations: 39.92 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01405, allocations: 70.08 kB / 1.012 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007835/0.01483, allocations: 0.7176 MB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.01499, allocations: 220.8 kB / 1.013 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.01504, allocations: 32.48 kB / 1.013 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.01504, allocations: 4 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of Templates: time 0.004799/0.01984, allocations: 4.862 MB / 1.018 GB, free: 11.69 MB / 0.9792 GB " [Timeout remaining time 300] 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: 7.777961817570031]