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.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.001321/0.001321, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00172/0.00172, allocations: 193.3 kB / 22.17 MB, free: 5.211 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.64/1.64, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9727/0.9756, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004362/0.98, allocations: 2.289 MB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.9826, allocations: 1.475 MB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.9828, allocations: 4 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.9834, allocations: 183.3 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.9838, allocations: 135.3 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.9843, allocations: 171.4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.9846, allocations: 267.1 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.9848, allocations: 44.67 kB / 1.279 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.985, allocations: 115.5 kB / 1.279 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.9852, allocations: 107.5 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.9852, allocations: 12 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.9854, allocations: 63.91 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.9855, allocations: 95.61 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.9857, allocations: 150.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.9862, allocations: 400.9 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9862, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9862, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9862, allocations: 0 / 1.279 GB, free: 15.05 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.00127/0.9875, allocations: 0.7252 MB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9876, allocations: 8.031 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.9876, allocations: 48.61 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.9883, allocations: 420.5 kB / 1.281 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.9883, allocations: 12.31 kB / 1.281 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.9883, allocations: 11.94 kB / 1.281 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.9886, allocations: 93.58 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.9886, allocations: 0 / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.9886, allocations: 4 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9886, allocations: 0 / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.9887, allocations: 51.97 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008972/0.9896, allocations: 0.4926 MB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.99, allocations: 98.66 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.9901, allocations: 36.84 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.9901, allocations: 7.984 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.9903, allocations: 83.38 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.9903, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004358/0.9908, allocations: 181.2 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.9908, allocations: 59.34 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.9915, allocations: 0.4911 MB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.9915, allocations: 37.7 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.9917, allocations: 224 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.9917, allocations: 31.91 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.9918, allocations: 53.66 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002806/0.9921, allocations: 358.8 kB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9922, allocations: 43.98 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.9924, allocations: 74.55 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.9926, allocations: 101.7 kB / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9926, allocations: 0 / 1.283 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003918/0.993, allocations: 211.4 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.993, allocations: 8 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.993, allocations: 3.984 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.993, allocations: 0 / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.9932, allocations: 35.92 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.9932, allocations: 8.406 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.9934, allocations: 23.88 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.9934, allocations: 4 kB / 1.283 GB, free: 10.8 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.0002224/0.9936, allocations: 189.7 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.9937, allocations: 51.61 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.994, allocations: 157.5 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.994, allocations: 3.938 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.994, allocations: 0 / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.994, allocations: 4 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.9943, allocations: 321.4 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9943, allocations: 3.938 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/0.9944, allocations: 8 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9944, allocations: 0 / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.9944, allocations: 3.984 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9944, allocations: 4 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9944, allocations: 0 / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.9948, allocations: 224.6 kB / 1.284 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.995, allocations: 112.8 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.995, allocations: 8 kB / 1.284 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.9951, allocations: 4 kB / 1.284 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.9951, allocations: 11.97 kB / 1.284 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.9952, allocations: 4 kB / 1.284 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000413/0.9956, allocations: 354.8 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9956, allocations: 0 / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002799/0.9958, allocations: 51.89 kB / 1.285 GB, free: 9.215 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 (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.001621/0.9975, allocations: 432 kB / 1.285 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.9978, allocations: 103.8 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.9978, allocations: 0 / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/0.9979, allocations: 31.98 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.9983, allocations: 84.94 kB / 1.285 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.9996, allocations: 0.7102 MB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/1, allocations: 0.826 MB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001063/1, allocations: 29.94 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/1, allocations: 27.42 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/1, allocations: 0 / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.008661/1.009, allocations: 3.114 MB / 1.29 GB, free: 4.016 MB / 0.9825 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 -s gbode -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_2/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: 9.24404455628246]