Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008458/0.008458, allocations: 99.64 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 187.1 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.586/2.586, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 68.02 kB / 0.9509 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3326, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003709/0.3363, allocations: 2.27 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3385, allocations: 1.436 MB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.3386, allocations: 4 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.3393, allocations: 195.4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.3397, allocations: 139.3 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.3401, allocations: 164.5 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3405, allocations: 267.1 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.3407, allocations: 56.72 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3408, allocations: 107.4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.341, allocations: 111.5 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.341, allocations: 16 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3412, allocations: 63.89 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3413, allocations: 91.67 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3415, allocations: 146.9 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.342, allocations: 394.4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.342, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3421, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3421, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 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.001084/0.3432, allocations: 0.7036 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3432, allocations: 8.031 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.3433, allocations: 48.38 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.3438, allocations: 408 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3438, allocations: 8.375 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3439, allocations: 11.94 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.3441, allocations: 97.58 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3441, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3441, allocations: 3.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3441, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3443, allocations: 55.91 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.3451, allocations: 496.4 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.3455, allocations: 106.7 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.3456, allocations: 36.84 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/0.3457, allocations: 4 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.3459, allocations: 87.31 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3459, allocations: 4 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003924/0.3463, allocations: 188.9 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3463, allocations: 51.41 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.3469, allocations: 0.495 MB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3469, allocations: 29.7 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3471, allocations: 223.7 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.3471, allocations: 27.78 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3473, allocations: 45.7 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3474, allocations: 366.8 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3475, allocations: 51.97 kB / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3477, allocations: 76.23 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3479, allocations: 103.5 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3479, allocations: 0 / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003938/0.3483, allocations: 212.9 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3483, allocations: 4 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3483, allocations: 0 / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3483, allocations: 0 / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3485, allocations: 47.92 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3485, allocations: 3.984 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3487, allocations: 11.94 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3488, allocations: 8 kB / 1.097 GB, free: 7.836 MB / 0.8575 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.0001833/0.3489, allocations: 198.7 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.349, allocations: 43.44 kB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.087e-05/0.3491, allocations: 47.91 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3491, allocations: 0 / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3491, allocations: 4 kB / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3491, allocations: 0 / 1.097 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3494, allocations: 309.5 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3494, allocations: 3.938 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.3495, allocations: 15.98 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3495, allocations: 0 / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3495, allocations: 7.984 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3495, allocations: 4 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3495, allocations: 0 / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3499, allocations: 224.6 kB / 1.098 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.35, allocations: 116.6 kB / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.3501, allocations: 0 / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.3502, allocations: 7.984 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3502, allocations: 11.98 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3502, allocations: 8.062 kB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003449/0.3506, allocations: 354.8 kB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3506, allocations: 0 / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000264/0.3509, allocations: 51.92 kB / 1.098 GB, free: 6.363 MB / 0.8575 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.001099/0.352, allocations: 422.4 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.3522, allocations: 107.9 kB / 1.099 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3523, allocations: 8 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.3524, allocations: 43.92 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3528, allocations: 69.28 kB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.354, allocations: 0.6721 MB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3544, allocations: 0.8221 MB / 1.101 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000106/0.3545, allocations: 37.92 kB / 1.101 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.3546, allocations: 35.38 kB / 1.101 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.3546, allocations: 0 / 1.101 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of Templates: time 0.007821/0.3624, allocations: 3.141 MB / 1.104 GB, free: 1.156 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches