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.001339/0.001339, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001274/0.001274, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.554/1.554, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.764/2.764, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 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.001984/0.001984, allocations: 71.88 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.234, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004531/1.238, allocations: 2.3 MB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002639/1.241, allocations: 1.467 MB / 1.276 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/1.241, allocations: 6.562 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007207/1.242, allocations: 188.3 kB / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004309/1.242, allocations: 131.8 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/1.243, allocations: 169.4 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/1.243, allocations: 271.3 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/1.244, allocations: 36.36 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/1.244, allocations: 111.6 kB / 1.277 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/1.244, allocations: 118.2 kB / 1.277 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/1.244, allocations: 14.09 kB / 1.277 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/1.244, allocations: 55.34 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/1.244, allocations: 102.2 kB / 1.277 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/1.244, allocations: 151.4 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006095/1.245, allocations: 397 kB / 1.277 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.245, allocations: 1.219 kB / 1.277 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.245, allocations: 0 / 1.277 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.245, allocations: 0 / 1.277 GB, free: 4.48 MB / 0.9981 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.001168/1.246, allocations: 0.7222 MB / 1.278 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.246, allocations: 11.64 kB / 1.278 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.246, allocations: 50.14 kB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/1.247, allocations: 412.4 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/1.247, allocations: 8.375 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/1.247, allocations: 13.72 kB / 1.279 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/1.247, allocations: 91.17 kB / 1.279 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.247, allocations: 5.859 kB / 1.279 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/1.247, allocations: 4.906 kB / 1.279 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.247, allocations: 1.75 kB / 1.279 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/1.247, allocations: 49.47 kB / 1.279 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/1.248, allocations: 498.3 kB / 1.279 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/1.249, allocations: 103.8 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/1.249, allocations: 35.72 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/1.249, allocations: 1.812 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/1.249, allocations: 86.3 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/1.249, allocations: 0 / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004417/1.249, allocations: 187.2 kB / 1.28 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.25, allocations: 54.62 kB / 1.28 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/1.25, allocations: 0.4942 MB / 1.28 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/1.25, allocations: 28.81 kB / 1.28 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/1.25, allocations: 227 kB / 1.28 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.979e-05/1.25, allocations: 31.48 kB / 1.28 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/1.251, allocations: 50.64 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.251, allocations: 363 kB / 1.281 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/1.251, allocations: 46.59 kB / 1.281 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/1.251, allocations: 79.17 kB / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/1.251, allocations: 98.08 kB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.251, allocations: 0 / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000392/1.252, allocations: 216.7 kB / 1.281 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.252, allocations: 9.5 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.252, allocations: 0 / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.252, allocations: 2.453 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.252, allocations: 34.16 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.252, allocations: 1.891 kB / 1.281 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/1.252, allocations: 17.16 kB / 1.281 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.252, allocations: 7.141 kB / 1.281 GB, free: 1.691 MB / 0.9981 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.000192/1.252, allocations: 190.1 kB / 1.281 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/1.252, allocations: 55.94 kB / 1.281 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/1.253, allocations: 165.1 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.253, allocations: 1.812 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.253, allocations: 0 / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.253, allocations: 0.75 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.253, allocations: 318.5 kB / 1.282 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.253, allocations: 10.19 kB / 1.282 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/1.253, allocations: 9.5 kB / 1.282 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.253, allocations: 0 / 1.282 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/1.253, allocations: 1.219 kB / 1.282 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.253, allocations: 7.984 kB / 1.282 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.253, allocations: 3.359 kB / 1.282 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/1.253, allocations: 221 kB / 1.282 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/1.253, allocations: 116.7 kB / 1.282 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/1.253, allocations: 6.922 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/1.254, allocations: 5.938 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/1.254, allocations: 9.562 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/1.254, allocations: 13.25 kB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003992/1.254, allocations: 351.8 kB / 1.283 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.254, allocations: 2.688 kB / 1.283 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002921/1.254, allocations: 48.61 kB / 1.283 GB, free: 0.7227 MB / 0.9981 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.00149/1.256, allocations: 415.6 kB / 1.283 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003036/1.256, allocations: 102.3 kB / 1.283 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.256, allocations: 8 kB / 1.283 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/1.256, allocations: 36.02 kB / 1.283 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/1.257, allocations: 77.61 kB / 1.283 GB, free: 456 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/1.258, allocations: 0.709 MB / 1.284 GB, free: 60 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/1.258, allocations: 0.8285 MB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001347/1.259, allocations: 30.53 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/1.259, allocations: 28.55 kB / 1.285 GB, free: 15.32 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.259, allocations: 0 / 1.285 GB, free: 15.32 MB / 1.014 GB Notification: Performance of Templates: time 0.009992/1.269, allocations: 3.126 MB / 1.288 GB, free: 15.01 MB / 1.014 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/jenkins/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: 9.783596264198422]