Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001621/0.001621, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001863/0.001863, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.485/1.485, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.1 MB / 0.7107 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 69 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004348/0.3429, allocations: 2.32 MB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3453, allocations: 1.417 MB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.3455, allocations: 3.938 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.3462, allocations: 183.2 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.3467, allocations: 115.5 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.3471, allocations: 149 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.3475, allocations: 275.1 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3477, allocations: 48.95 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.3478, allocations: 115.5 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.348, allocations: 115.4 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.348, allocations: 16 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3482, allocations: 55.92 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3483, allocations: 95.66 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3485, allocations: 150.8 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.3489, allocations: 303.4 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3489, allocations: 0 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3489, allocations: 0 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3489, allocations: 0 / 1.023 GB, free: 5.637 MB / 0.795 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.001117/0.35, allocations: 0.7035 MB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3501, allocations: 8.031 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.3502, allocations: 48.38 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.3507, allocations: 412 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3508, allocations: 8.375 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.3508, allocations: 7.938 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.351, allocations: 108.1 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3511, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3511, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3511, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.3512, allocations: 47.98 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.3521, allocations: 0.4925 MB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.3524, allocations: 102.7 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.3525, allocations: 48.77 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3526, allocations: 4 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.3528, allocations: 79.38 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3528, allocations: 0 / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0004208/0.3532, allocations: 184.9 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3533, allocations: 51.41 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.3538, allocations: 0.5068 MB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3539, allocations: 25.7 kB / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3541, allocations: 227.9 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.3541, allocations: 31.64 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.3542, allocations: 45.69 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3544, allocations: 362.8 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3545, allocations: 43.98 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3547, allocations: 91.61 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3549, allocations: 91.59 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3549, allocations: 0 / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003583/0.3553, allocations: 212.9 kB / 1.026 GB, free: 1.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3553, allocations: 4 kB / 1.026 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3553, allocations: 3.938 kB / 1.026 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3553, allocations: 4.062 kB / 1.026 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3555, allocations: 39.97 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3555, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3557, allocations: 23.83 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3557, allocations: 8 kB / 1.027 GB, free: 1.418 MB / 0.795 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.0002147/0.3559, allocations: 188.2 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.356, allocations: 43.44 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.3561, allocations: 47.91 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3561, allocations: 8 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3561, allocations: 0 / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3561, allocations: 0 / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.3565, allocations: 317.4 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3565, allocations: 4 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.3565, allocations: 7.938 kB / 1.027 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3566, allocations: 4 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3566, allocations: 4 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3566, allocations: 3.984 kB / 1.027 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3566, allocations: 0 / 1.027 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.357, allocations: 220.8 kB / 1.027 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.3571, allocations: 116.6 kB / 1.027 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.3571, allocations: 4 kB / 1.027 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.3572, allocations: 4 kB / 1.027 GB, free: 380 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.3573, allocations: 15.98 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3573, allocations: 3.984 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003903/0.3577, allocations: 354.8 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3577, allocations: 4.062 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002904/0.358, allocations: 47.95 kB / 1.028 GB, free: 15.95 MB / 0.8106 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.00153/0.3596, allocations: 435 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.3599, allocations: 115.8 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3599, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.36, allocations: 39.98 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3605, allocations: 68.7 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3618, allocations: 0.8302 MB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.3623, allocations: 0.826 MB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.3624, allocations: 23.44 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3624, allocations: 0 / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of Templates: time 0.008006/0.3704, allocations: 4.615 MB / 1.035 GB, free: 9.16 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches