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.001768/0.001768, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.0023/0.0023, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.49 GB / 0.7958 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002028/0.002028, allocations: 71.03 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3609, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004159/0.365, allocations: 2.321 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3677, allocations: 1.622 MB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3678, allocations: 3.938 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.3684, allocations: 183.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.3689, allocations: 175.1 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3692, allocations: 139.5 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.3696, allocations: 283 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3697, allocations: 32.92 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3699, allocations: 123.5 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3701, allocations: 115.4 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.3701, allocations: 12 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3703, allocations: 63.97 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3704, allocations: 103.5 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3705, allocations: 146.9 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.3711, allocations: 406 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3711, allocations: 0 / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3711, allocations: 7.984 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3711, allocations: 0 / 1.333 GB, free: 11.73 MB / 1.029 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.001109/0.3722, allocations: 0.6514 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.3722, allocations: 8.031 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3724, allocations: 52.61 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.373, allocations: 357.3 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.373, allocations: 12.38 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.3731, allocations: 11.94 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3733, allocations: 92.03 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3733, allocations: 0 / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.3733, allocations: 7.938 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3734, allocations: 7.984 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.3735, allocations: 51.91 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.3744, allocations: 467.5 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.3748, allocations: 110.6 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.3749, allocations: 32.84 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3749, allocations: 4 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.3751, allocations: 83.38 kB / 1.335 GB, free: 9.684 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3751, allocations: 7.938 kB / 1.335 GB, free: 9.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0004414/0.3756, allocations: 177.2 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3756, allocations: 51.41 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.3762, allocations: 0.5107 MB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3763, allocations: 33.7 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.3765, allocations: 232 kB / 1.336 GB, free: 8.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.3766, allocations: 31.73 kB / 1.336 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.3767, allocations: 45.7 kB / 1.336 GB, free: 8.559 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.3769, allocations: 358.8 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.377, allocations: 51.98 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3772, allocations: 76.03 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3774, allocations: 112.5 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3774, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003782/0.3778, allocations: 213.2 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3778, allocations: 4 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3778, allocations: 4 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3778, allocations: 4 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.378, allocations: 35.92 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.378, allocations: 0 / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3781, allocations: 23.97 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3781, allocations: 8.375 kB / 1.336 GB, free: 7.66 MB / 1.029 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.000221/0.3784, allocations: 191.3 kB / 1.337 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.3784, allocations: 47.67 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.3788, allocations: 165.6 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3788, allocations: 0 / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3788, allocations: 0 / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3788, allocations: 0 / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.3791, allocations: 296.4 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3791, allocations: 4 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.3792, allocations: 11.94 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3792, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3792, allocations: 8 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3792, allocations: 0 / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3792, allocations: 0 / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3796, allocations: 220.6 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.3797, allocations: 35.81 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.3797, allocations: 11.94 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.3798, allocations: 7.984 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3798, allocations: 11.98 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3798, allocations: 7.984 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003961/0.3802, allocations: 358.8 kB / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3802, allocations: 0 / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002661/0.3805, allocations: 51.89 kB / 1.338 GB, free: 6.18 MB / 1.029 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.001549/0.3821, allocations: 424.5 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3824, allocations: 105.4 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3824, allocations: 0 / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.3825, allocations: 31.98 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3829, allocations: 78.64 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3842, allocations: 0.7558 MB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.3846, allocations: 0.826 MB / 1.34 GB, free: 4.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.3847, allocations: 27.42 kB / 1.34 GB, free: 4.051 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3847, allocations: 0 / 1.34 GB, free: 4.051 MB / 1.029 GB Notification: Performance of Templates: time 0.00792/0.3926, allocations: 4.712 MB / 1.345 GB, free: 15.36 MB / 1.045 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/jenkins1/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: 12.025861661008094]