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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0009121/0.0009122, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005585/0.005585, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.002/3.002, allocations: 470.6 MB / 0.7442 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 11.91 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3575, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003116/0.3606, allocations: 1.958 MB / 1.072 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3631, allocations: 1.386 MB / 1.073 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3632, allocations: 0 / 1.073 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.3639, allocations: 187.7 kB / 1.073 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.3642, allocations: 119.5 kB / 1.073 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.3647, allocations: 141.3 kB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.365, allocations: 255.1 kB / 1.074 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3652, allocations: 56.94 kB / 1.074 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.3654, allocations: 95.5 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3656, allocations: 111.3 kB / 1.074 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.3656, allocations: 4 kB / 1.074 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3657, allocations: 39.98 kB / 1.074 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3658, allocations: 87.66 kB / 1.074 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.366, allocations: 168.4 kB / 1.074 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.3664, allocations: 370.5 kB / 1.075 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3664, allocations: 0 / 1.075 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3664, allocations: 0 / 1.075 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3664, allocations: 4 kB / 1.075 GB, free: 6.418 MB / 0.8262 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.001017/0.3675, allocations: 0.6455 MB / 1.075 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3675, allocations: 15.97 kB / 1.075 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.3676, allocations: 48.36 kB / 1.075 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.3682, allocations: 408.1 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3682, allocations: 8.375 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.3682, allocations: 15.94 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3685, allocations: 97.58 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3685, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3685, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3685, allocations: 4 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3687, allocations: 57.88 kB / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.3695, allocations: 0.4888 MB / 1.076 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.3699, allocations: 110.7 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.37, allocations: 32.84 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.37, allocations: 4 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.3702, allocations: 87.31 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3703, allocations: 0 / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004326/0.3707, allocations: 181 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.3708, allocations: 55.41 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.3713, allocations: 0.4989 MB / 1.077 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3714, allocations: 33.7 kB / 1.077 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3716, allocations: 224 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.3716, allocations: 27.64 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3717, allocations: 26.09 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3719, allocations: 366.7 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.372, allocations: 47.97 kB / 1.078 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3721, allocations: 78.55 kB / 1.078 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3724, allocations: 103.1 kB / 1.078 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3724, allocations: 0 / 1.078 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003677/0.3727, allocations: 212.9 kB / 1.078 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3728, allocations: 4 kB / 1.078 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3728, allocations: 0 / 1.078 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3728, allocations: 4.062 kB / 1.078 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.373, allocations: 43.91 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.373, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3731, allocations: 16 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.3732, allocations: 7.984 kB / 1.079 GB, free: 2.273 MB / 0.8262 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.0002066/0.3734, allocations: 188.2 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.3735, allocations: 47.38 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.3735, allocations: 55.91 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3736, allocations: 0 / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3736, allocations: 0 / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3736, allocations: 0 / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.3739, allocations: 325.3 kB / 1.079 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.3739, allocations: 7.984 kB / 1.079 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.374, allocations: 8 kB / 1.079 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.374, allocations: 0 / 1.079 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.374, allocations: 4 kB / 1.079 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.374, allocations: 0 / 1.079 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.374, allocations: 0 / 1.079 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.3744, allocations: 224.4 kB / 1.079 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.3745, allocations: 108.6 kB / 1.079 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3746, allocations: 11.98 kB / 1.079 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.3747, allocations: 4 kB / 1.079 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.3748, allocations: 11.98 kB / 1.079 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3748, allocations: 11.98 kB / 1.079 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004041/0.3752, allocations: 354.9 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3752, allocations: 3.938 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000276/0.3755, allocations: 40 kB / 1.08 GB, free: 0.8047 MB / 0.8262 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.001654/0.3771, allocations: 427.4 kB / 1.08 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3775, allocations: 109.6 kB / 1.08 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3775, allocations: 0 / 1.08 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3776, allocations: 47.92 kB / 1.08 GB, free: 396 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.378, allocations: 71.02 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3795, allocations: 0.8062 MB / 1.081 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.38, allocations: 0.8307 MB / 1.082 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.3802, allocations: 41.86 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.3803, allocations: 23.44 kB / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.3803, allocations: 0 / 1.082 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.008888/0.3892, allocations: 2.86 MB / 1.085 GB, free: 11.73 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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) 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) Reference file matches