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.001622/0.001622, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001868/0.001868, allocations: 157.3 kB / 23.01 MB, free: 4.605 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.517/1.517, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.923/2.923, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002141/0.002141, allocations: 71.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003456/1.093, allocations: 2.228 MB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002233/1.095, allocations: 1.497 MB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/1.095, allocations: 6.5 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/1.096, allocations: 168 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004332/1.096, allocations: 182.7 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/1.097, allocations: 134 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/1.097, allocations: 289.8 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/1.097, allocations: 32.12 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/1.097, allocations: 111.6 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/1.097, allocations: 115.9 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/1.097, allocations: 14.38 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/1.098, allocations: 49.08 kB / 1.159 GB, free: 30.31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/1.098, allocations: 109 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/1.098, allocations: 109.2 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/1.098, allocations: 413.3 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.098, allocations: 0 / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/1.098, allocations: 0 / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.098, allocations: 0 / 1.159 GB, free: 30.02 MB / 1.076 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.0009022/1.099, allocations: 0.6647 MB / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.099, allocations: 9.062 kB / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/1.099, allocations: 50.55 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/1.1, allocations: 354 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/1.1, allocations: 7.125 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/1.1, allocations: 17.31 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/1.1, allocations: 120 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.1, allocations: 3.375 kB / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.1, allocations: 0 / 1.16 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/1.1, allocations: 6.828 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/1.1, allocations: 56.12 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/1.101, allocations: 422.4 kB / 1.161 GB, free: 28.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/1.101, allocations: 89 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.864e-05/1.101, allocations: 30.52 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/1.101, allocations: 0 / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/1.101, allocations: 117.3 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/1.101, allocations: 0 / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0003825/1.102, allocations: 173.7 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/1.102, allocations: 62.72 kB / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/1.102, allocations: 0.5128 MB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/1.102, allocations: 29.73 kB / 1.162 GB, free: 28.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/1.102, allocations: 227.4 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/1.102, allocations: 33.27 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/1.102, allocations: 49.95 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/1.102, allocations: 361 kB / 1.162 GB, free: 27.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/1.103, allocations: 45.66 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/1.103, allocations: 101.9 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/1.103, allocations: 111.5 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.103, allocations: 7.188 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002929/1.103, allocations: 205.7 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.103, allocations: 5.125 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.103, allocations: 2.875 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.103, allocations: 0 / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/1.103, allocations: 40.17 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.103, allocations: 0 / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/1.103, allocations: 13.2 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/1.104, allocations: 12.22 kB / 1.163 GB, free: 27.35 MB / 1.076 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.000148/1.104, allocations: 196.5 kB / 1.163 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/1.104, allocations: 52.08 kB / 1.163 GB, free: 27.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/1.104, allocations: 160 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.104, allocations: 2.781 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.104, allocations: 0 / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.104, allocations: 0 / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/1.104, allocations: 247.3 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.104, allocations: 4 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.115e-05/1.104, allocations: 8.625 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.104, allocations: 7.938 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/1.104, allocations: 7.328 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.104, allocations: 2.875 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.104, allocations: 0 / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/1.105, allocations: 224.5 kB / 1.164 GB, free: 26.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/1.105, allocations: 42.25 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/1.105, allocations: 2.875 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/1.105, allocations: 10.45 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/1.105, allocations: 17.47 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/1.105, allocations: 6.797 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003228/1.105, allocations: 362.8 kB / 1.164 GB, free: 26.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.105, allocations: 0 / 1.164 GB, free: 26.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002645/1.105, allocations: 52.72 kB / 1.164 GB, free: 26.55 MB / 1.076 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.001645/1.107, allocations: 453.3 kB / 1.165 GB, free: 26.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000261/1.107, allocations: 103 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.107, allocations: 2.906 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/1.107, allocations: 37.19 kB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/1.108, allocations: 67.42 kB / 1.165 GB, free: 26.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/1.109, allocations: 0.7061 MB / 1.166 GB, free: 25.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.109, allocations: 219.9 kB / 1.166 GB, free: 25.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001043/1.109, allocations: 42.08 kB / 1.166 GB, free: 25.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/1.109, allocations: 31.31 kB / 1.166 GB, free: 25.76 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.109, allocations: 0 / 1.166 GB, free: 25.76 MB / 1.076 GB Notification: Performance of Templates: time 0.008242/1.117, allocations: 3.167 MB / 1.169 GB, free: 25.34 MB / 1.076 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 -s ida -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/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: 9.663576318998821]