Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.771/1.771, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 183.2 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009695, allocations: 93.73 kB / 0.7935 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003956, allocations: 12.72 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6646, allocations: 121.3 MB / 1.041 GB, free: 58.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002961/0.6676, allocations: 1.917 MB / 1.043 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.6703, allocations: 1.482 MB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.6705, allocations: 1.594 kB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.6712, allocations: 176.6 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.6715, allocations: 122.9 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.672, allocations: 139.7 kB / 1.045 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.6724, allocations: 256.1 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.6726, allocations: 53.58 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.6727, allocations: 100.5 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.6729, allocations: 107.1 kB / 1.045 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.6729, allocations: 4.125 kB / 1.045 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.6731, allocations: 42.44 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.6733, allocations: 85.88 kB / 1.045 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.6734, allocations: 169.9 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.6739, allocations: 368.5 kB / 1.046 GB, free: 55.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6739, allocations: 0 / 1.046 GB, free: 55.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6739, allocations: 1.625 kB / 1.046 GB, free: 55.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.674, allocations: 0 / 1.046 GB, free: 55.65 MB / 0.698 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.000994/0.675, allocations: 0.65 MB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.675, allocations: 9.875 kB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.6751, allocations: 48.33 kB / 1.046 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.6757, allocations: 401.1 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.6757, allocations: 11.14 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.6757, allocations: 12.25 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.676, allocations: 97.34 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.676, allocations: 3.938 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.676, allocations: 4 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.676, allocations: 1.625 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.6762, allocations: 55.75 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.677, allocations: 0.4972 MB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.6774, allocations: 102 kB / 1.048 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.6775, allocations: 35.45 kB / 1.048 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.6775, allocations: 7.844 kB / 1.048 GB, free: 54.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.6777, allocations: 84.08 kB / 1.048 GB, free: 54.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.6778, allocations: 0 / 1.048 GB, free: 54.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004165/0.6782, allocations: 182.8 kB / 1.048 GB, free: 54.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.6782, allocations: 53.39 kB / 1.048 GB, free: 54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.6788, allocations: 0.4912 MB / 1.048 GB, free: 53.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.6788, allocations: 29.95 kB / 1.048 GB, free: 53.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.6789, allocations: 235 kB / 1.049 GB, free: 53.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.679, allocations: 29.42 kB / 1.049 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.679, allocations: 0 / 1.049 GB, free: 53.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.6791, allocations: 361.3 kB / 1.049 GB, free: 53.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6792, allocations: 46.12 kB / 1.049 GB, free: 53.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.6793, allocations: 75.94 kB / 1.049 GB, free: 53.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.6795, allocations: 100.5 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6795, allocations: 0.6562 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003138/0.6798, allocations: 212.8 kB / 1.049 GB, free: 52.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6799, allocations: 6.906 kB / 1.049 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.6799, allocations: 1.344 kB / 1.049 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6799, allocations: 1.766 kB / 1.049 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.6801, allocations: 36.59 kB / 1.049 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6801, allocations: 0 / 1.049 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.6802, allocations: 29.44 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.6803, allocations: 7.875 kB / 1.05 GB, free: 52.95 MB / 0.698 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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.0001644/0.6804, allocations: 186.3 kB / 1.05 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.6805, allocations: 51.92 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.6806, allocations: 48.5 kB / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6806, allocations: 0 / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6806, allocations: 5.531 kB / 1.05 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.6806, allocations: 0 / 1.05 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.6809, allocations: 322.5 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.6809, allocations: 0.7031 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.6809, allocations: 7.531 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6809, allocations: 2.344 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.681, allocations: 5.594 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.681, allocations: 2.344 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.681, allocations: 0 / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.6813, allocations: 214.5 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.6814, allocations: 123.3 kB / 1.05 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.6815, allocations: 6.344 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.6816, allocations: 8.859 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.6816, allocations: 21.72 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.6816, allocations: 3.5 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003205/0.682, allocations: 347.8 kB / 1.051 GB, free: 52.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.682, allocations: 0 / 1.051 GB, free: 52.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002566/0.6822, allocations: 52.33 kB / 1.051 GB, free: 52.06 MB / 0.698 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * 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.0009413/0.6832, allocations: 486.7 kB / 1.051 GB, free: 51.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.6835, allocations: 113.8 kB / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6835, allocations: 0 / 1.051 GB, free: 51.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.6836, allocations: 38.62 kB / 1.051 GB, free: 51.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.684, allocations: 72.33 kB / 1.052 GB, free: 51.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.685, allocations: 0.8115 MB / 1.052 GB, free: 51.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.6853, allocations: 0.8265 MB / 1.053 GB, free: 50.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.6854, allocations: 32.64 kB / 1.053 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.6855, allocations: 29.38 kB / 1.053 GB, free: 50.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.6855, allocations: 0 / 1.053 GB, free: 50.54 MB / 0.698 GB Notification: Performance of Templates: time 0.007144/0.6926, allocations: 2.868 MB / 1.056 GB, free: 50.31 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)