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.002003/0.002003, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002096/0.002096, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.612/1.612, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.105/3.105, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.465e-06/2.465e-06, allocations: 0 / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.453e-05/4.7e-05, allocations: 5.938 kB / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004529/0.004576, allocations: 2.231 MB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.007476, allocations: 1.486 MB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.007622, allocations: 3.938 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.008324, allocations: 187.4 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.008882, allocations: 189.7 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.009264, allocations: 139.4 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000458/0.009722, allocations: 286.9 kB / 1.005 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.009886, allocations: 32.92 kB / 1.005 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.01013, allocations: 147.6 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.01032, allocations: 99.62 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.01037, allocations: 16 kB / 1.005 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.01052, allocations: 51.92 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.01068, allocations: 107.6 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.01081, allocations: 79.64 kB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.01142, allocations: 390.6 kB / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01143, allocations: 0 / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01143, allocations: 0 / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.01144, allocations: 0 / 1.005 GB, free: 1.891 MB / 0.9512 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.001391/0.01283, allocations: 0.6474 MB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.01288, allocations: 12.03 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.01299, allocations: 48.61 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.01364, allocations: 352.6 kB / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.01366, allocations: 12.31 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.0137, allocations: 4.375 kB / 1.006 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.01398, allocations: 127.7 kB / 1.007 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01399, allocations: 0 / 1.007 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.01401, allocations: 0 / 1.007 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.01401, allocations: 4 kB / 1.007 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.01419, allocations: 59.91 kB / 1.007 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.01499, allocations: 412.2 kB / 1.007 GB, free: 136 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.01526, allocations: 102.5 kB / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.01537, allocations: 32.97 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.01539, allocations: 0 / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.01562, allocations: 117 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.01562, allocations: 0 / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004694/0.01609, allocations: 177.3 kB / 1.007 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.01615, allocations: 55.41 kB / 1.008 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.01681, allocations: 0.5107 MB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.01684, allocations: 33.7 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.01707, allocations: 228 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.01711, allocations: 31.73 kB / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.01721, allocations: 49.64 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.01743, allocations: 358.8 kB / 1.009 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.01755, allocations: 47.98 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.01772, allocations: 100.2 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.01796, allocations: 103.3 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01796, allocations: 0 / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003886/0.01835, allocations: 217.2 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.01836, allocations: 8 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01837, allocations: 3.938 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.0184, allocations: 0 / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.01859, allocations: 31.98 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01859, allocations: 0 / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01872, allocations: 19.94 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.01876, allocations: 8 kB / 1.009 GB, free: 13.82 MB / 0.9669 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.0002262/0.01899, allocations: 198.3 kB / 1.009 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.01906, allocations: 43.72 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.01943, allocations: 165.9 kB / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01943, allocations: 4 kB / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01944, allocations: 0 / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01944, allocations: 0 / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.01977, allocations: 257 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01977, allocations: 0 / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.01984, allocations: 8 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01985, allocations: 4 kB / 1.01 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01986, allocations: 0 / 1.01 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.01987, allocations: 11.88 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01987, allocations: 0 / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.02031, allocations: 224.7 kB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.02038, allocations: 39.73 kB / 1.01 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.02042, allocations: 4 kB / 1.01 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.02051, allocations: 7.938 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.02058, allocations: 19.91 kB / 1.01 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.0206, allocations: 8 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004607/0.02106, allocations: 354.8 kB / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02106, allocations: 64 / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003189/0.02138, allocations: 59.88 kB / 1.011 GB, free: 12.37 MB / 0.9669 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.002054/0.02343, allocations: 448 kB / 1.011 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.02379, allocations: 102.5 kB / 1.011 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.0238, allocations: 0 / 1.011 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.02393, allocations: 43.92 kB / 1.011 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.02444, allocations: 78.89 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.02597, allocations: 0.673 MB / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.02628, allocations: 220.8 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.02642, allocations: 41.92 kB / 1.012 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.02651, allocations: 28.67 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.02651, allocations: 0 / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.01013/0.03663, allocations: 3.17 MB / 1.015 GB, free: 7.766 MB / 0.9669 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: 9.386000569909811]