Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008231/0.00823, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001738/0.001739, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 68.03 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4093, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004423/0.4138, allocations: 2.268 MB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.4164, allocations: 1.432 MB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.4166, allocations: 11.88 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.4173, allocations: 183.1 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.4177, allocations: 143.3 kB / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.4182, allocations: 168 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.4186, allocations: 267 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.4188, allocations: 52.72 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.419, allocations: 115.5 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.4191, allocations: 107.5 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.4192, allocations: 16 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.4194, allocations: 67.89 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4195, allocations: 95.61 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.4197, allocations: 146.9 kB / 1.172 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.4202, allocations: 402 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4202, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4202, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4202, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 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.001265/0.4215, allocations: 0.7228 MB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4216, allocations: 8.031 kB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.4217, allocations: 52.61 kB / 1.173 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.4223, allocations: 412.6 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4223, allocations: 8.375 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.4224, allocations: 15.94 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.4226, allocations: 91.19 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4227, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4227, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4227, allocations: 4 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.4228, allocations: 55.84 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.4237, allocations: 496.5 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.4241, allocations: 102.7 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.4242, allocations: 40.84 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4242, allocations: 4 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.4244, allocations: 91.3 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4244, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.000435/0.4249, allocations: 185.1 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.4249, allocations: 55.41 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.4255, allocations: 0.5029 MB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4255, allocations: 29.7 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.4257, allocations: 220 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.4258, allocations: 31.78 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.4259, allocations: 45.66 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4261, allocations: 362.8 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4262, allocations: 51.97 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.4263, allocations: 78.55 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.4265, allocations: 103.9 kB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4265, allocations: 3.938 kB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003419/0.4269, allocations: 209.2 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.4269, allocations: 4 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4269, allocations: 4 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.427, allocations: 4 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4271, allocations: 43.91 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4272, allocations: 4.062 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.4273, allocations: 11.95 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.4273, allocations: 12 kB / 1.176 GB, free: 13.11 MB / 0.9356 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.0002092/0.4275, allocations: 191.7 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.4276, allocations: 47.67 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.93e-05/0.4277, allocations: 47.91 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4277, allocations: 4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4277, allocations: 0 / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4277, allocations: 4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.4281, allocations: 313.4 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4281, allocations: 4 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.4281, allocations: 11.98 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4282, allocations: 4 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4282, allocations: 0 / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4282, allocations: 0 / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4282, allocations: 0 / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.4286, allocations: 228.9 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4287, allocations: 112.9 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.4288, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.4289, allocations: 7.984 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.4289, allocations: 15.98 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4289, allocations: 0 / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000374/0.4293, allocations: 354.8 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4293, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002803/0.4296, allocations: 51.92 kB / 1.177 GB, free: 11.65 MB / 0.9356 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.001184/0.4308, allocations: 421.8 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.4311, allocations: 114.4 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4312, allocations: 4 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4313, allocations: 39.92 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4317, allocations: 75.84 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.433, allocations: 0.6985 MB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.4334, allocations: 0.8337 MB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.4336, allocations: 37.94 kB / 1.179 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.4337, allocations: 27.44 kB / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.4337, allocations: 0 / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of Templates: time 0.008353/0.442, allocations: 3.07 MB / 1.182 GB, free: 6.473 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches