Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001707/0.001707, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002339/0.002339, allocations: 221.7 kB / 23 MB, free: 4.914 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476 MB / 0.7707 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00213/0.00213, allocations: 66.86 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004622/0.3812, allocations: 2.219 MB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.384, allocations: 1.498 MB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.3842, allocations: 7.938 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.3849, allocations: 175.2 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.3854, allocations: 179.1 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.3858, allocations: 139.6 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.3862, allocations: 275 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3863, allocations: 40.89 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3865, allocations: 115.5 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3867, allocations: 107.4 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.3867, allocations: 19.98 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3869, allocations: 51.97 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.387, allocations: 107.6 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3872, allocations: 115 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.3877, allocations: 410.1 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3877, allocations: 0 / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3877, allocations: 0 / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3878, allocations: 0 / 1.289 GB, free: 6.555 MB / 0.9825 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.001192/0.3889, allocations: 0.6553 MB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.389, allocations: 8.031 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3891, allocations: 52.61 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.3897, allocations: 361.3 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3897, allocations: 8.375 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3897, allocations: 11.94 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.39, allocations: 119.3 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.39, allocations: 4 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.39, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.39, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3902, allocations: 55.97 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.391, allocations: 420 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3912, allocations: 98.7 kB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.3913, allocations: 32.84 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3913, allocations: 0 / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.3915, allocations: 117 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3915, allocations: 0 / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004043/0.3919, allocations: 169.3 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.392, allocations: 55.34 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.3925, allocations: 0.5106 MB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3926, allocations: 37.7 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3928, allocations: 228.1 kB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.3928, allocations: 31.73 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.3929, allocations: 49.69 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3931, allocations: 358.8 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3932, allocations: 51.97 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3933, allocations: 104.2 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3935, allocations: 99.88 kB / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3935, allocations: 0 / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003438/0.3939, allocations: 217.2 kB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3939, allocations: 7.984 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3939, allocations: 4 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3939, allocations: 0 / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3941, allocations: 35.98 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3941, allocations: 0 / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3942, allocations: 15.94 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3943, allocations: 12 kB / 1.293 GB, free: 2.469 MB / 0.9825 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.0002024/0.3945, allocations: 189.8 kB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.3945, allocations: 51.59 kB / 1.293 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.3948, allocations: 161.9 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3948, allocations: 0 / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3948, allocations: 0 / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3948, allocations: 7.984 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.3951, allocations: 253.1 kB / 1.294 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3951, allocations: 0 / 1.294 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.3952, allocations: 11.98 kB / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3952, allocations: 3.938 kB / 1.294 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3952, allocations: 12 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3952, allocations: 0 / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3952, allocations: 0 / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3956, allocations: 220.7 kB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.3957, allocations: 43.69 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.3957, allocations: 4 kB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.3958, allocations: 7.984 kB / 1.294 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.3958, allocations: 19.91 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3959, allocations: 4 kB / 1.294 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003994/0.3963, allocations: 362.8 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3963, allocations: 4.062 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000266/0.3965, allocations: 47.89 kB / 1.294 GB, free: 1.031 MB / 0.9825 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.001689/0.3982, allocations: 449 kB / 1.295 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.3985, allocations: 102 kB / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3985, allocations: 0 / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.741e-05/0.3986, allocations: 39.92 kB / 1.295 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.399, allocations: 87.45 kB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4002, allocations: 0.7439 MB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4005, allocations: 224.8 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.4005, allocations: 27.61 kB / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.4005, allocations: 0 / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.008171/0.4087, allocations: 4.846 MB / 1.301 GB, free: 10.68 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.237599506042898]