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.01018/0.01018, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.002573/0.002573, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.568/2.568, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 68.23 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3745, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005267/0.3798, allocations: 2.256 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.383, allocations: 1.452 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.3833, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.3841, allocations: 191.5 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.3847, allocations: 143.3 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.3854, allocations: 160.6 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.386, allocations: 267 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3862, allocations: 56.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.3865, allocations: 111.5 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.3868, allocations: 111.4 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.3869, allocations: 12 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3871, allocations: 71.95 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.3873, allocations: 95.61 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3875, allocations: 146.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.3883, allocations: 394.1 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3883, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.09e-06/0.3883, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.3883, allocations: 7.938 kB / 1.093 GB, free: 12.03 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.001296/0.3896, allocations: 0.7151 MB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3897, allocations: 12.03 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3898, allocations: 52.61 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.3904, allocations: 408.6 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3905, allocations: 8.375 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.3905, allocations: 11.94 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3907, allocations: 93.64 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3908, allocations: 0 / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3908, allocations: 0 / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3908, allocations: 7.938 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.391, allocations: 55.91 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009957/0.392, allocations: 0.4887 MB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.3923, allocations: 110.6 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.3924, allocations: 36.84 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3925, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.3927, allocations: 91.36 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3927, allocations: 0 / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004428/0.3931, allocations: 173.2 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.3932, allocations: 63.41 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.3938, allocations: 0.4989 MB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3939, allocations: 29.7 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3941, allocations: 223.8 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.3941, allocations: 35.72 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3942, allocations: 45.7 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3944, allocations: 358.8 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3945, allocations: 59.91 kB / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3947, allocations: 75.67 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.395, allocations: 95.08 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.395, allocations: 0 / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000373/0.3954, allocations: 213.2 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3954, allocations: 8 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3954, allocations: 0 / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3954, allocations: 4.062 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3956, allocations: 39.97 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3956, allocations: 3.938 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3958, allocations: 12 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3958, allocations: 15.98 kB / 1.097 GB, free: 7.793 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.000263/0.3961, allocations: 187.4 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.3961, allocations: 47.67 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.3962, allocations: 47.91 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3962, allocations: 4.375 kB / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3963, allocations: 0 / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3963, allocations: 7.984 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.3966, allocations: 313.4 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3966, allocations: 7.922 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.3967, allocations: 15.88 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3967, allocations: 0 / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3967, allocations: 8 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3967, allocations: 0 / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3967, allocations: 0 / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3971, allocations: 224.6 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.3972, allocations: 108.9 kB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3973, allocations: 8 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.3974, allocations: 7.984 kB / 1.098 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3974, allocations: 11.98 kB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3974, allocations: 4 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004031/0.3978, allocations: 354.8 kB / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3979, allocations: 4.062 kB / 1.098 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002996/0.3982, allocations: 55.88 kB / 1.099 GB, free: 6.312 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.001069/0.3992, allocations: 410.3 kB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.3995, allocations: 114.1 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3996, allocations: 3.938 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3997, allocations: 43.92 kB / 1.099 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.4001, allocations: 70.02 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.4014, allocations: 0.6907 MB / 1.1 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.4018, allocations: 0.826 MB / 1.101 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.402, allocations: 33.92 kB / 1.101 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.4021, allocations: 27.44 kB / 1.101 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.4021, allocations: 192 / 1.101 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.008572/0.4106, allocations: 3.083 MB / 1.104 GB, free: 1.16 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