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.001923/0.001923, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002102/0.002102, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.757/2.757, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8135, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003984/0.8175, allocations: 2.312 MB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.8198, allocations: 1.425 MB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.82, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.8206, allocations: 183.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.8211, allocations: 111.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.8215, allocations: 147.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.8219, allocations: 267.1 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.822, allocations: 54.69 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.8222, allocations: 115.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.8224, allocations: 115.4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.8225, allocations: 12 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.8226, allocations: 59.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.8227, allocations: 95.61 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.8229, allocations: 158.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.8233, allocations: 378.6 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8233, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8233, allocations: 7.938 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8233, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 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.001042/0.8244, allocations: 0.7035 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.8244, allocations: 8.031 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.8245, allocations: 48.38 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.825, allocations: 412.1 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.825, allocations: 4.375 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.8251, allocations: 11.94 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.8253, allocations: 95.27 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8253, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.8253, allocations: 8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8254, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.8255, allocations: 55.97 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.8263, allocations: 0.4925 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.8267, allocations: 106.7 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.8268, allocations: 32.84 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.8268, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.827, allocations: 87.31 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.827, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003993/0.8274, allocations: 181 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.8274, allocations: 55.41 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.8279, allocations: 0.4911 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.828, allocations: 33.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.8281, allocations: 228 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.8282, allocations: 23.62 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.8283, allocations: 53.69 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8284, allocations: 358.8 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.8285, allocations: 51.92 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.8287, allocations: 82.05 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.8288, allocations: 99.08 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8289, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003437/0.8292, allocations: 214.8 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.8292, allocations: 9.5 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8292, allocations: 3.984 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.8293, allocations: 4.062 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.8294, allocations: 35.98 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8294, allocations: 0 / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.8296, allocations: 23.83 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.8296, allocations: 4 kB / 1.026 GB, free: 9.07 MB / 0.7794 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.0001808/0.8298, allocations: 190.2 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.8299, allocations: 43.44 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.818e-05/0.83, allocations: 55.89 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.83, allocations: 0 / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.83, allocations: 4 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.83, allocations: 0 / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.8302, allocations: 317.4 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.8303, allocations: 0 / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.8303, allocations: 8 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8303, allocations: 0 / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.8304, allocations: 7.984 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8304, allocations: 0 / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8304, allocations: 3.938 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.8307, allocations: 224.4 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.8308, allocations: 120.5 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.8309, allocations: 0 / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.831, allocations: 8 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.831, allocations: 7.984 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.8311, allocations: 7.984 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003561/0.8314, allocations: 358.8 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8314, allocations: 4.062 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000283/0.8317, allocations: 47.91 kB / 1.027 GB, free: 7.598 MB / 0.7794 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.0009654/0.8327, allocations: 422.9 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.833, allocations: 111.8 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.833, allocations: 4 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.8331, allocations: 31.98 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.8335, allocations: 90.62 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.8347, allocations: 0.7817 MB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.8351, allocations: 0.826 MB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.8352, allocations: 33.94 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.8353, allocations: 27.42 kB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.8353, allocations: 0 / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.007329/0.8426, allocations: 2.991 MB / 1.032 GB, free: 2.434 MB / 0.7794 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