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.00734/0.00734, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001379/0.001379, allocations: 193.2 kB / 16.67 MB, free: 5.973 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4013, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004586/0.406, allocations: 2.269 MB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.4087, allocations: 1.428 MB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.409, allocations: 4 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.4097, allocations: 191.3 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.4103, allocations: 135.2 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.4109, allocations: 163.6 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.4114, allocations: 275 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.4116, allocations: 60.61 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.4119, allocations: 107.5 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.4122, allocations: 115.5 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.4122, allocations: 15.94 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.4124, allocations: 55.97 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.4126, allocations: 99.55 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.4128, allocations: 150.9 kB / 1.213 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.4134, allocations: 390.5 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4134, allocations: 3.938 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4134, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.4134, allocations: 0 / 1.213 GB, free: 4.184 MB / 0.9669 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.00135/0.4148, allocations: 0.7035 MB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4148, allocations: 12.03 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4149, allocations: 44.38 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.4156, allocations: 412 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4156, allocations: 4.375 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.4157, allocations: 19.92 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.4159, allocations: 97.58 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4159, allocations: 0 / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.416, allocations: 4 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.416, allocations: 4 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.4161, allocations: 47.97 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.4171, allocations: 0.4926 MB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.4175, allocations: 110.7 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.4175, allocations: 32.84 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.4176, allocations: 0 / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.4178, allocations: 91.31 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.4178, allocations: 4 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004783/0.4183, allocations: 177 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.4184, allocations: 51.41 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.4191, allocations: 0.4988 MB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.4191, allocations: 30.08 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.4193, allocations: 224 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.4193, allocations: 31.77 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.4194, allocations: 49.61 kB / 1.216 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4196, allocations: 370.7 kB / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.4197, allocations: 47.92 kB / 1.216 GB, free: 448 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4199, allocations: 76.98 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.4201, allocations: 95.77 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4201, allocations: 0 / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003984/0.4205, allocations: 218.2 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4205, allocations: 7.984 kB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4205, allocations: 0 / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4206, allocations: 4 kB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.4208, allocations: 35.97 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.4208, allocations: 0 / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4209, allocations: 15.94 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.421, allocations: 8 kB / 1.217 GB, free: 15.97 MB / 0.9825 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.0002033/0.4212, allocations: 193.7 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.4212, allocations: 47.34 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.4213, allocations: 43.91 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4213, allocations: 4 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4214, allocations: 0 / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4214, allocations: 0 / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.4217, allocations: 321.4 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4217, allocations: 0 / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.4218, allocations: 11.94 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4218, allocations: 0 / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4218, allocations: 3.984 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4218, allocations: 4 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4218, allocations: 0 / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.4222, allocations: 216.4 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.4223, allocations: 124.5 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.4224, allocations: 0 / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.4225, allocations: 8 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.4225, allocations: 16.03 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.4226, allocations: 8 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003996/0.423, allocations: 354.9 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.423, allocations: 3.938 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002882/0.4233, allocations: 44 kB / 1.218 GB, free: 14.5 MB / 0.9825 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.001119/0.4244, allocations: 428.6 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.4247, allocations: 103.8 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4247, allocations: 8.062 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.4248, allocations: 39.92 kB / 1.219 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4253, allocations: 73.45 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4265, allocations: 0.6875 MB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.4271, allocations: 0.8338 MB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.4272, allocations: 33.94 kB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.4273, allocations: 27.42 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.4273, allocations: 3.938 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of Templates: time 0.008932/0.4363, allocations: 3.068 MB / 1.223 GB, free: 9.332 MB / 0.9825 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