Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 248.5 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.91 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3896, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004372/0.3939, allocations: 2.306 MB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3966, allocations: 1.44 MB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3967, allocations: 7.938 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.3974, allocations: 187.1 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.3978, allocations: 139.3 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.3983, allocations: 163.4 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.3987, allocations: 267 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3988, allocations: 40.72 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.3991, allocations: 115.5 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.3992, allocations: 107.5 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.3993, allocations: 23.98 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.3994, allocations: 51.98 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3996, allocations: 99.55 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3998, allocations: 150.9 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.4003, allocations: 398 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4003, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4003, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.4004, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 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.001231/0.4016, allocations: 0.7267 MB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4016, allocations: 8.031 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4017, allocations: 52.61 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.4024, allocations: 412.6 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4024, allocations: 4.375 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.4024, allocations: 15.94 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4027, allocations: 93.58 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4027, allocations: 3.984 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4027, allocations: 8 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4027, allocations: 4 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.4028, allocations: 47.97 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.4037, allocations: 492.5 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.4041, allocations: 110.7 kB / 1.221 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.4042, allocations: 28.84 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4042, allocations: 4 kB / 1.221 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.4044, allocations: 83.38 kB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4044, allocations: 0 / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004464/0.4049, allocations: 193.1 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4049, allocations: 55.34 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.4056, allocations: 0.5028 MB / 1.222 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.4056, allocations: 29.7 kB / 1.222 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.4058, allocations: 224 kB / 1.222 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.4058, allocations: 35.77 kB / 1.222 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.4059, allocations: 45.66 kB / 1.222 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4061, allocations: 362.8 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4063, allocations: 51.98 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4064, allocations: 74.55 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.4066, allocations: 100.1 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4066, allocations: 0 / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003795/0.407, allocations: 209.2 kB / 1.223 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.407, allocations: 5.875 kB / 1.223 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.407, allocations: 4.062 kB / 1.223 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4071, allocations: 4 kB / 1.223 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.4072, allocations: 39.92 kB / 1.223 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4072, allocations: 0 / 1.223 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4074, allocations: 15.94 kB / 1.223 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.4074, allocations: 12 kB / 1.223 GB, free: 7.156 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.0002286/0.4076, allocations: 185.7 kB / 1.223 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.4077, allocations: 47.67 kB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.4078, allocations: 51.91 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4078, allocations: 4 kB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4078, allocations: 0 / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4078, allocations: 0 / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.4081, allocations: 329.3 kB / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4082, allocations: 0 / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.4082, allocations: 4 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4082, allocations: 4 kB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4082, allocations: 3.984 kB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4082, allocations: 0 / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4082, allocations: 4 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.4086, allocations: 221 kB / 1.224 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4087, allocations: 120.8 kB / 1.224 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.4088, allocations: 0 / 1.224 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.4089, allocations: 4 kB / 1.224 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.4089, allocations: 23.91 kB / 1.224 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4089, allocations: 0 / 1.224 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000411/0.4094, allocations: 358.9 kB / 1.225 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4094, allocations: 0 / 1.225 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000288/0.4096, allocations: 47.94 kB / 1.225 GB, free: 5.684 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001565/0.4112, allocations: 434.3 kB / 1.225 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.4115, allocations: 101.8 kB / 1.225 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4115, allocations: 0 / 1.225 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4116, allocations: 40.05 kB / 1.225 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.4121, allocations: 75.95 kB / 1.225 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4134, allocations: 0.754 MB / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.414, allocations: 0.8221 MB / 1.227 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.4141, allocations: 27.44 kB / 1.227 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of SimCode: time 9.72e-07/0.4141, allocations: 0 / 1.227 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of Templates: time 0.009103/0.4232, allocations: 4.621 MB / 1.231 GB, free: 14.96 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.063866700977087]