Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001302/0.001302, allocations: 195 kB / 16.14 MB, free: 6.648 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.903/2.903, allocations: 461.8 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 69.28 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3882, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004381/0.3927, allocations: 2.318 MB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3953, allocations: 1.416 MB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.3956, allocations: 4 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.3963, allocations: 183.7 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.3968, allocations: 119.5 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.3973, allocations: 151.5 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.3978, allocations: 255.1 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.398, allocations: 48.95 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.3982, allocations: 103.4 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.3985, allocations: 111.4 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.3985, allocations: 8 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.3987, allocations: 47.97 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.3989, allocations: 91.66 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.399, allocations: 138.8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.3996, allocations: 382.5 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3996, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3996, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.3996, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 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.001353/0.401, allocations: 0.7074 MB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.401, allocations: 8.031 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.4012, allocations: 52.31 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.4018, allocations: 408.1 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4018, allocations: 4.375 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.4019, allocations: 11.94 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.4021, allocations: 101.6 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4021, allocations: 0 / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.4022, allocations: 4 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4022, allocations: 7.938 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.4023, allocations: 51.97 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009397/0.4033, allocations: 488.4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.4037, allocations: 110.7 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.4038, allocations: 32.84 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.4038, allocations: 4 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.4041, allocations: 95.3 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4041, allocations: 0 / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004678/0.4045, allocations: 181 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.4046, allocations: 51.41 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.4052, allocations: 0.499 MB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.4052, allocations: 29.7 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.4054, allocations: 227.8 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.4054, allocations: 31.64 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.4055, allocations: 45.7 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4057, allocations: 366.8 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.4059, allocations: 47.97 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.406, allocations: 76.61 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.4062, allocations: 100 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4062, allocations: 384 / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003812/0.4066, allocations: 213 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4067, allocations: 5.094 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.4067, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.4067, allocations: 7.938 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.4069, allocations: 35.92 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4069, allocations: 3.984 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.4071, allocations: 15.91 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.4071, allocations: 8 kB / 1.061 GB, free: 15.28 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.0002141/0.4073, allocations: 195.2 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.4074, allocations: 43.44 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.4075, allocations: 47.91 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4075, allocations: 4 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4075, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4075, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.4078, allocations: 321.4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4079, allocations: 4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.4079, allocations: 7.984 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4079, allocations: 4 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.408, allocations: 8 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.408, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.408, allocations: 0 / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.4084, allocations: 220.4 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.4085, allocations: 112.6 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.4085, allocations: 0 / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.4086, allocations: 11.98 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4087, allocations: 16.05 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.4087, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003739/0.4091, allocations: 362.8 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4091, allocations: 3.938 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002774/0.4094, allocations: 47.89 kB / 1.063 GB, free: 13.8 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.001048/0.4104, allocations: 415.3 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4107, allocations: 108.9 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4107, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4108, allocations: 43.92 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.4113, allocations: 68.77 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.4126, allocations: 0.7833 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.413, allocations: 0.8262 MB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000132/0.4131, allocations: 33.94 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4133, allocations: 27.42 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4133, allocations: 0 / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.007881/0.4212, allocations: 2.896 MB / 1.068 GB, free: 8.746 MB / 0.8262 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches