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.002228/0.002228, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002981/0.002981, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.071/3.071, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.74e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004848/0.004875, allocations: 2.222 MB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.008118, allocations: 1.496 MB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.008346, allocations: 8.781 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.009077, allocations: 176.1 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000702/0.009779, allocations: 175.5 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.01025, allocations: 144.8 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00058/0.01083, allocations: 290.9 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.01102, allocations: 40.81 kB / 0.8153 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.01138, allocations: 147.6 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.01165, allocations: 101 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.0117, allocations: 12 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.01189, allocations: 57.83 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.01206, allocations: 103.6 kB / 0.8157 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.01221, allocations: 75.66 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.01292, allocations: 390.5 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01293, allocations: 0 / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01293, allocations: 0.625 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.01294, allocations: 7.938 kB / 0.8161 GB, free: 12.64 MB / 0.7761 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.001443/0.01438, allocations: 0.6416 MB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.01442, allocations: 8.031 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.01458, allocations: 60.61 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.01523, allocations: 361.2 kB / 0.8172 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.01526, allocations: 9.531 kB / 0.8172 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.01529, allocations: 8.375 kB / 0.8172 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.01559, allocations: 119.7 kB / 0.8173 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01561, allocations: 4.906 kB / 0.8173 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.01563, allocations: 4 kB / 0.8173 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01564, allocations: 8.5 kB / 0.8173 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.01582, allocations: 55.91 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.01708, allocations: 410 kB / 0.8177 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.01742, allocations: 95.98 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.01754, allocations: 36.84 kB / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.01757, allocations: 0 / 0.8179 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.01786, allocations: 113.9 kB / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.01786, allocations: 0 / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0007285/0.01859, allocations: 183.4 kB / 0.8182 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.01866, allocations: 55.41 kB / 0.8182 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.01956, allocations: 0.5107 MB / 0.8187 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.0196, allocations: 29.7 kB / 0.8187 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.01987, allocations: 232 kB / 0.819 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.01993, allocations: 28.34 kB / 0.819 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.02004, allocations: 53.62 kB / 0.819 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002753/0.02032, allocations: 358.2 kB / 0.8194 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.02045, allocations: 51.97 kB / 0.8194 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.02064, allocations: 100.2 kB / 0.8195 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.02111, allocations: 99.36 kB / 0.8196 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02111, allocations: 0 / 0.8196 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004361/0.02155, allocations: 223 kB / 0.8198 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.02156, allocations: 4 kB / 0.8198 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.02158, allocations: 4.438 kB / 0.8198 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.0216, allocations: 0.5625 kB / 0.8198 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.02179, allocations: 36.7 kB / 0.8199 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.02181, allocations: 7.984 kB / 0.8199 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.02194, allocations: 16.55 kB / 0.8199 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.02197, allocations: 5.094 kB / 0.8199 GB, free: 8.57 MB / 0.7761 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.0002299/0.0222, allocations: 185.7 kB / 0.8201 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.02229, allocations: 60.31 kB / 0.8201 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.02266, allocations: 163.2 kB / 0.8203 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.02266, allocations: 0 / 0.8203 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.02266, allocations: 0 / 0.8203 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.02267, allocations: 4 kB / 0.8203 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.02302, allocations: 253.1 kB / 0.8205 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.02302, allocations: 3.656 kB / 0.8205 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.02309, allocations: 11.98 kB / 0.8205 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.02309, allocations: 0 / 0.8205 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.02311, allocations: 7.938 kB / 0.8206 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.02311, allocations: 3.938 kB / 0.8206 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.02312, allocations: 4 kB / 0.8206 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.0236, allocations: 224.8 kB / 0.8208 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.02367, allocations: 43.69 kB / 0.8208 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.02372, allocations: 11.98 kB / 0.8208 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.02381, allocations: 8.812 kB / 0.8208 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.02387, allocations: 15.97 kB / 0.8209 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.02389, allocations: 5.094 kB / 0.8209 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004807/0.02437, allocations: 358.8 kB / 0.8212 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02437, allocations: 0 / 0.8212 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002918/0.02466, allocations: 53.02 kB / 0.8213 GB, free: 7.129 MB / 0.7761 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.002122/0.02678, allocations: 443 kB / 0.8217 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.02709, allocations: 103.8 kB / 0.8218 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.0271, allocations: 0 / 0.8218 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.02721, allocations: 47.86 kB / 0.8218 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.02767, allocations: 78.23 kB / 0.8219 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.02901, allocations: 0.6856 MB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.02931, allocations: 224.8 kB / 0.8228 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.02944, allocations: 37.92 kB / 0.8228 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.02953, allocations: 28.48 kB / 0.8228 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.02953, allocations: 0 / 0.8228 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.009778/0.03931, allocations: 3.188 MB / 0.826 GB, free: 2.527 MB / 0.7761 GB " [Timeout remaining time 300] 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: 8.736680700909346]