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.00108/0.00108, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008048/0.0008048, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8757/0.8757, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9517 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.941e-05, allocations: 6.219 kB / 0.9517 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003515/0.003545, allocations: 2.222 MB / 0.9539 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.005945, allocations: 1.493 MB / 0.9554 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.006144, allocations: 4 kB / 0.9554 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.006762, allocations: 175 kB / 0.9555 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.007281, allocations: 187 kB / 0.9557 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.007627, allocations: 143.4 kB / 0.9559 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.007992, allocations: 286.9 kB / 0.9561 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.008139, allocations: 28.92 kB / 0.9562 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.008337, allocations: 147.6 kB / 0.9563 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.008501, allocations: 103.6 kB / 0.9564 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.008531, allocations: 15.94 kB / 0.9564 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.00867, allocations: 55.92 kB / 0.9565 GB, free: 13 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.008778, allocations: 99.61 kB / 0.9566 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.008865, allocations: 75.66 kB / 0.9566 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.00933, allocations: 390.6 kB / 0.957 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.009334, allocations: 4 kB / 0.957 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.009336, allocations: 0 / 0.957 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.009342, allocations: 0 / 0.957 GB, free: 12.44 MB / 0.8698 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.000992/0.01033, allocations: 0.6552 MB / 0.9577 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.01037, allocations: 8.031 kB / 0.9577 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.01046, allocations: 52.61 kB / 0.9577 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.01095, allocations: 348.6 kB / 0.958 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.01097, allocations: 8.312 kB / 0.9581 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.011, allocations: 16.38 kB / 0.9581 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.01122, allocations: 122.9 kB / 0.9582 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01123, allocations: 3.984 kB / 0.9582 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.01125, allocations: 0 / 0.9582 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.01125, allocations: 4 kB / 0.9582 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.01139, allocations: 55.97 kB / 0.9582 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.01204, allocations: 424.1 kB / 0.9587 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.01226, allocations: 94.67 kB / 0.9587 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.01232, allocations: 28.89 kB / 0.9588 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.01235, allocations: 4 kB / 0.9588 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.01254, allocations: 113 kB / 0.9589 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/0.01254, allocations: 0 / 0.9589 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0003675/0.01291, allocations: 181.2 kB / 0.9591 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.01294, allocations: 55.41 kB / 0.9591 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.01345, allocations: 0.5068 MB / 0.9596 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.01348, allocations: 29.7 kB / 0.9596 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.01365, allocations: 232.1 kB / 0.9599 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.01369, allocations: 23.81 kB / 0.9599 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.01376, allocations: 57.62 kB / 0.9599 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01389, allocations: 358.8 kB / 0.9603 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.01399, allocations: 43.98 kB / 0.9603 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.01411, allocations: 105.7 kB / 0.9604 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01428, allocations: 116 kB / 0.9605 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01428, allocations: 0 / 0.9605 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003047/0.01459, allocations: 209.3 kB / 0.9607 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.0146, allocations: 4 kB / 0.9607 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01461, allocations: 3.938 kB / 0.9607 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01463, allocations: 4 kB / 0.9607 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01479, allocations: 31.98 kB / 0.9608 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.0148, allocations: 4 kB / 0.9608 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.01489, allocations: 19.88 kB / 0.9608 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.01492, allocations: 11.98 kB / 0.9608 GB, free: 8.363 MB / 0.8698 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.0001796/0.0151, allocations: 187.4 kB / 0.961 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.01515, allocations: 55.66 kB / 0.961 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.01543, allocations: 161.6 kB / 0.9612 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01544, allocations: 4 kB / 0.9612 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01544, allocations: 0 / 0.9612 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01545, allocations: 0 / 0.9612 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.01567, allocations: 245.2 kB / 0.9614 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01568, allocations: 0 / 0.9614 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.01574, allocations: 12 kB / 0.9614 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01574, allocations: 0 / 0.9614 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01575, allocations: 4.469 kB / 0.9614 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01576, allocations: 3.938 kB / 0.9614 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01576, allocations: 4 kB / 0.9614 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.01608, allocations: 228.6 kB / 0.9617 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.01614, allocations: 43.64 kB / 0.9617 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.01617, allocations: 11.98 kB / 0.9617 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.01624, allocations: 11.94 kB / 0.9617 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.01629, allocations: 19.91 kB / 0.9618 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.0163, allocations: 4 kB / 0.9618 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004333/0.01674, allocations: 358.8 kB / 0.9621 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01674, allocations: 0 / 0.9621 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002774/0.01702, allocations: 51.98 kB / 0.9621 GB, free: 6.918 MB / 0.8698 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.0009772/0.01799, allocations: 449.6 kB / 0.9626 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.01824, allocations: 105.8 kB / 0.9627 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01824, allocations: 0 / 0.9627 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.01832, allocations: 39.92 kB / 0.9627 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.01868, allocations: 64.77 kB / 0.9628 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.01976, allocations: 0.7253 MB / 0.9635 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.01994, allocations: 220.8 kB / 0.9637 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.02001, allocations: 28.48 kB / 0.9637 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.02001, allocations: 0 / 0.9637 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of Templates: time 0.007625/0.02764, allocations: 4.868 MB / 0.9685 GB, free: 0.5977 MB / 0.8698 GB " [Timeout remaining time 300] 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: 6.769426128827035]