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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00102/0.00102, allocations: 101.8 kB / 16.35 MB, free: 5.824 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.001121/0.001121, allocations: 194.7 kB / 17.3 MB, free: 5.48 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.7 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3167, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003664/0.3204, allocations: 2.265 MB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.3226, allocations: 1.46 MB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3228, allocations: 3.938 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.3234, allocations: 179.1 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.3238, allocations: 139.2 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.3242, allocations: 165.1 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.3245, allocations: 267 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3247, allocations: 60.66 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3248, allocations: 103.5 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.325, allocations: 111.4 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.325, allocations: 15.94 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3251, allocations: 59.98 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3253, allocations: 95.66 kB / 1.024 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3254, allocations: 150.8 kB / 1.024 GB, free: 4.801 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.3258, allocations: 386.6 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3258, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3258, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.3258, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 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.001067/0.3269, allocations: 0.7113 MB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.327, allocations: 12.03 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.894e-05/0.3271, allocations: 44.38 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.3276, allocations: 408.1 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3276, allocations: 8.375 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.3277, allocations: 11.94 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.3279, allocations: 97.52 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3279, allocations: 0 / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3279, allocations: 4 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.328, allocations: 4 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3281, allocations: 51.97 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.3289, allocations: 496.4 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3292, allocations: 102.7 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.3293, allocations: 40.78 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3293, allocations: 0 / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3295, allocations: 95.25 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3295, allocations: 0 / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0003967/0.3299, allocations: 173 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.33, allocations: 63.41 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.3305, allocations: 0.4951 MB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3305, allocations: 33.7 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3307, allocations: 227.9 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3307, allocations: 27.64 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.3308, allocations: 45.7 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.331, allocations: 358.8 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3311, allocations: 47.98 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3312, allocations: 79.86 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3314, allocations: 104 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3314, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003343/0.3318, allocations: 206.6 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3318, allocations: 11.98 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3318, allocations: 4 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3318, allocations: 4.062 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.332, allocations: 35.98 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.332, allocations: 4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.3322, allocations: 15.89 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3322, allocations: 8 kB / 1.028 GB, free: 216 kB / 0.795 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.0001706/0.3324, allocations: 192.3 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.3324, allocations: 43.61 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.3325, allocations: 51.91 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3325, allocations: 0 / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3326, allocations: 0 / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3326, allocations: 0 / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3328, allocations: 325.4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3328, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.3329, allocations: 12.38 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3329, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3329, allocations: 7.984 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.333, allocations: 0 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.333, allocations: 11.81 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.3333, allocations: 216.4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.3334, allocations: 116.5 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.3335, allocations: 8 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.3336, allocations: 4 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.3336, allocations: 11.98 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3337, allocations: 7.984 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003579/0.334, allocations: 350.8 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.334, allocations: 8.062 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002695/0.3343, allocations: 47.91 kB / 1.029 GB, free: 14.73 MB / 0.8106 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.0009709/0.3353, allocations: 411.8 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3356, allocations: 111.9 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3356, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3357, allocations: 43.92 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3361, allocations: 78.3 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3372, allocations: 0.6801 MB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3376, allocations: 0.8191 MB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.3377, allocations: 41.88 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.3378, allocations: 31.42 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.3378, allocations: 0 / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.007497/0.3453, allocations: 3.057 MB / 1.034 GB, free: 9.613 MB / 0.8106 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 -s gbode -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/jenkins1/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