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.009297/0.009298, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.002139/0.002139, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.836/2.836, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3402, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004051/0.3443, allocations: 2.268 MB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.3468, allocations: 1.436 MB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.347, allocations: 3.938 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.3477, allocations: 187.1 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.3483, allocations: 139.3 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.3488, allocations: 159.5 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.3493, allocations: 271 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3494, allocations: 48.72 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.3497, allocations: 115.5 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3499, allocations: 103.5 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3499, allocations: 12 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3501, allocations: 63.91 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3502, allocations: 99.59 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3504, allocations: 142.9 kB / 1.172 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.3509, allocations: 406 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3509, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3509, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.351, allocations: 4 kB / 1.172 GB, free: 1.332 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.001158/0.3521, allocations: 0.7228 MB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3522, allocations: 8.031 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.3523, allocations: 52.61 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.3529, allocations: 412.6 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3529, allocations: 4.375 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3529, allocations: 11.94 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3532, allocations: 97.64 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3532, allocations: 0 / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3532, allocations: 7.984 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3532, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3534, allocations: 59.84 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.3543, allocations: 484.6 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3547, allocations: 114.6 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.3548, allocations: 32.84 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.3548, allocations: 4 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.355, allocations: 95.3 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.355, allocations: 0 / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004419/0.3555, allocations: 181.2 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3555, allocations: 55.41 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.3561, allocations: 0.4951 MB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3561, allocations: 33.7 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.3563, allocations: 220 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.3564, allocations: 28.16 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3565, allocations: 53.66 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3567, allocations: 362.8 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3568, allocations: 51.97 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3569, allocations: 77.11 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3572, allocations: 103.9 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3572, allocations: 0 / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003687/0.3576, allocations: 209.3 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3576, allocations: 11.94 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3576, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3576, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3578, allocations: 43.91 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3578, allocations: 0 / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.358, allocations: 19.95 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.358, allocations: 7.984 kB / 1.176 GB, free: 13.09 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.0002066/0.3582, allocations: 193.7 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.3583, allocations: 47.67 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.3584, allocations: 47.91 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3584, allocations: 0 / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3584, allocations: 0 / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3584, allocations: 4 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.3587, allocations: 321.4 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3588, allocations: 3.984 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.3588, allocations: 8 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3588, allocations: 0 / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3589, allocations: 8 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3589, allocations: 0 / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3589, allocations: 0 / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.3593, allocations: 224.6 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.3594, allocations: 108.9 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.3594, allocations: 8 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.3595, allocations: 7.984 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.3596, allocations: 12.05 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3596, allocations: 4 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000399/0.36, allocations: 358.8 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.36, allocations: 0 / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002756/0.3603, allocations: 48.02 kB / 1.177 GB, free: 11.62 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.001084/0.3614, allocations: 429.9 kB / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.3617, allocations: 109.7 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3618, allocations: 4.062 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3619, allocations: 47.86 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3623, allocations: 71.2 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3635, allocations: 0.6984 MB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.3639, allocations: 0.8298 MB / 1.179 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.364, allocations: 33.92 kB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.3641, allocations: 27.42 kB / 1.179 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3641, allocations: 0 / 1.179 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of Templates: time 0.008839/0.373, allocations: 3.069 MB / 1.182 GB, free: 6.445 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