Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009587/0.009587, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002252/0.002252, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.592/1.592, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.47 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3227, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004129/0.3269, allocations: 2.245 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3295, allocations: 1.444 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.3297, allocations: 7.938 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.3305, allocations: 199.5 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.331, allocations: 135.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.3316, allocations: 159.5 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.332, allocations: 275 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3322, allocations: 44.73 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.3325, allocations: 111.5 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3326, allocations: 115.3 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.3327, allocations: 12 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3329, allocations: 51.97 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.333, allocations: 91.67 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.3331, allocations: 154.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.3336, allocations: 394.6 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3336, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3336, allocations: 3.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.3337, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 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.001301/0.335, allocations: 0.6996 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.335, allocations: 12.03 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.3351, allocations: 48.36 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.3358, allocations: 412 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3358, allocations: 8.359 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.3358, allocations: 19.94 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3361, allocations: 101 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3361, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3361, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3361, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3363, allocations: 47.97 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.3372, allocations: 0.5002 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.3376, allocations: 102.7 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.3377, allocations: 28.84 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3378, allocations: 8 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.338, allocations: 87.31 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.338, allocations: 4 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004329/0.3384, allocations: 177 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3385, allocations: 55.39 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.339, allocations: 0.4911 MB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.339, allocations: 33.7 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3392, allocations: 231.6 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.3393, allocations: 27.78 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.3394, allocations: 45.7 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3395, allocations: 362.8 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3396, allocations: 43.98 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3398, allocations: 75.86 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.34, allocations: 107.5 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.34, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003598/0.3404, allocations: 218.5 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3404, allocations: 4 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3404, allocations: 0 / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3404, allocations: 4 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3406, allocations: 31.98 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3406, allocations: 32 / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3408, allocations: 23.92 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.3408, allocations: 8 kB / 1.097 GB, free: 7.828 MB / 0.8575 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.0002244/0.341, allocations: 186.3 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.3411, allocations: 51.42 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.3412, allocations: 40.3 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3412, allocations: 4 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3412, allocations: 0 / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3412, allocations: 0 / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3416, allocations: 333.4 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3416, allocations: 0 / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.3416, allocations: 8 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3417, allocations: 3.984 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3417, allocations: 3.938 kB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3417, allocations: 4 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3417, allocations: 0 / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3421, allocations: 228.3 kB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.3422, allocations: 112.6 kB / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3422, allocations: 0 / 1.098 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.3423, allocations: 11.98 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.3424, allocations: 15.92 kB / 1.098 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3424, allocations: 4 kB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003935/0.3428, allocations: 354.8 kB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3428, allocations: 0 / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002886/0.3431, allocations: 43.94 kB / 1.098 GB, free: 6.359 MB / 0.8575 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.001007/0.3441, allocations: 433.9 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.3444, allocations: 99.91 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3445, allocations: 4 kB / 1.099 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3446, allocations: 39.92 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.345, allocations: 71.16 kB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.3462, allocations: 0.6799 MB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3466, allocations: 0.826 MB / 1.101 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.3467, allocations: 37.94 kB / 1.101 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.3468, allocations: 23.61 kB / 1.101 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.3468, allocations: 0 / 1.101 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.007919/0.3548, allocations: 3.078 MB / 1.104 GB, free: 1.215 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches