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.008483/0.008483, allocations: 106.2 kB / 15.74 MB, free: 6 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.001927/0.001927, allocations: 198.6 kB / 16.68 MB, free: 5.918 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.412/1.412, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.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.4/2.4, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.146, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003857/1.15, allocations: 2.253 MB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002072/1.152, allocations: 1.444 MB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/1.152, allocations: 6.219 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/1.153, allocations: 187.3 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003837/1.153, allocations: 141 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/1.154, allocations: 164 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003588/1.154, allocations: 267.6 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/1.154, allocations: 58.69 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/1.155, allocations: 115 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/1.155, allocations: 107.1 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/1.155, allocations: 17.53 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/1.155, allocations: 55.06 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/1.155, allocations: 95.86 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/1.155, allocations: 147.9 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/1.156, allocations: 394 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.156, allocations: 4 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/1.156, allocations: 0.7188 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.156, allocations: 0 / 1.093 GB, free: 2.078 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.00104/1.157, allocations: 0.7014 MB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.157, allocations: 9.188 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/1.157, allocations: 50.06 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/1.157, allocations: 414.9 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.157, allocations: 12.12 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/1.158, allocations: 10.17 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/1.158, allocations: 89.73 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.158, allocations: 0 / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.158, allocations: 5.656 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.158, allocations: 6.094 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/1.158, allocations: 54.19 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/1.159, allocations: 497.8 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/1.159, allocations: 114.5 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/1.159, allocations: 36.09 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/1.159, allocations: 2.484 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/1.159, allocations: 89.3 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/1.159, allocations: 0.75 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004505/1.16, allocations: 179.7 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.16, allocations: 52.59 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/1.161, allocations: 0.4966 MB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.161, allocations: 27.72 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/1.161, allocations: 235.3 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/1.161, allocations: 31.47 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/1.161, allocations: 46.3 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.161, allocations: 359 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/1.161, allocations: 47.09 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/1.161, allocations: 75.92 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/1.162, allocations: 104.3 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.162, allocations: 1.094 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004126/1.162, allocations: 212.2 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.162, allocations: 5.781 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.162, allocations: 1.672 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.162, allocations: 0.9062 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/1.162, allocations: 38.31 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/1.162, allocations: 5.562 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/1.163, allocations: 21.55 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/1.163, allocations: 7.531 kB / 1.097 GB, free: 15.3 MB / 0.8731 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.0002217/1.163, allocations: 189.9 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/1.163, allocations: 48.89 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/1.163, allocations: 50.61 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.163, allocations: 0.9375 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.163, allocations: 3.938 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.163, allocations: 1.391 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/1.163, allocations: 319 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.163, allocations: 0 / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/1.164, allocations: 8.75 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.164, allocations: 1.219 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/1.164, allocations: 6.578 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.164, allocations: 1.094 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.164, allocations: 0 / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/1.164, allocations: 218.9 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/1.164, allocations: 120.2 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/1.164, allocations: 6.578 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/1.164, allocations: 10.27 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/1.164, allocations: 10.45 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/1.164, allocations: 8.219 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004386/1.165, allocations: 352.5 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.165, allocations: 3.938 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002926/1.165, allocations: 46.69 kB / 1.098 GB, free: 14.41 MB / 0.8731 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.001017/1.166, allocations: 418.5 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002999/1.166, allocations: 109.5 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.166, allocations: 0 / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/1.167, allocations: 39.12 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/1.167, allocations: 82.47 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/1.168, allocations: 0.6806 MB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/1.169, allocations: 0.8239 MB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001392/1.169, allocations: 41.48 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/1.169, allocations: 29.09 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.169, allocations: 0 / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.009791/1.179, allocations: 3.067 MB / 1.104 GB, free: 12.74 MB / 0.8731 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