Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007963/0.007963, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001951/0.00195, allocations: 191.1 kB / 16.79 MB, free: 5.809 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.673/1.673, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.82/2.82, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.61 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3357, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003872/0.3396, allocations: 2.302 MB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3418, allocations: 1.42 MB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.342, allocations: 3.938 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.3426, allocations: 187.7 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.3429, allocations: 107.5 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3434, allocations: 150.8 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3437, allocations: 255.1 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3439, allocations: 52.94 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.344, allocations: 99.44 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.3442, allocations: 111.4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.3443, allocations: 8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3444, allocations: 51.97 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3445, allocations: 83.67 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3447, allocations: 154.8 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.345, allocations: 287.4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.345, allocations: 4 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.345, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3451, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 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.001085/0.3461, allocations: 0.7051 MB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3462, allocations: 11.97 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3463, allocations: 44.38 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.3468, allocations: 412.1 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3469, allocations: 384 / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3469, allocations: 19.92 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3471, allocations: 93.59 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3472, allocations: 0 / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3472, allocations: 4 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3472, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3473, allocations: 55.97 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/0.3481, allocations: 0.4886 MB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.3485, allocations: 110.6 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.3486, allocations: 36.83 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3486, allocations: 0 / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.3488, allocations: 95.36 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3489, allocations: 0 / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0003987/0.3493, allocations: 177 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3493, allocations: 59.34 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.3498, allocations: 0.4951 MB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3499, allocations: 33.7 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3501, allocations: 227.8 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3501, allocations: 31.62 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.3502, allocations: 49.69 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3503, allocations: 354.8 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3505, allocations: 55.97 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3506, allocations: 71.48 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.3508, allocations: 103.3 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3508, allocations: 0 / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003475/0.3512, allocations: 205.3 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3512, allocations: 8 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3512, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3512, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3514, allocations: 47.84 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3514, allocations: 4 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.3516, allocations: 15.94 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3516, allocations: 11.98 kB / 1.062 GB, free: 14.81 MB / 0.8262 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.0001805/0.3518, allocations: 185.7 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3518, allocations: 43.44 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-05/0.3519, allocations: 47.91 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3519, allocations: 0 / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.352, allocations: 0 / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.352, allocations: 3.938 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3522, allocations: 325.4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3523, allocations: 8 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.3523, allocations: 8 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3523, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3524, allocations: 4 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3524, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3524, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.3528, allocations: 216.4 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.3528, allocations: 112.6 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.3529, allocations: 8.062 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.353, allocations: 11.98 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3531, allocations: 7.984 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3531, allocations: 7.984 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003552/0.3534, allocations: 354.8 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3534, allocations: 3.938 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002852/0.3537, allocations: 51.91 kB / 1.063 GB, free: 13.34 MB / 0.8262 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.000976/0.3547, allocations: 424.4 kB / 1.064 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.355, allocations: 113.8 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.355, allocations: 0 / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.89e-05/0.3551, allocations: 39.98 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3555, allocations: 66.38 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3568, allocations: 0.8237 MB / 1.065 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3572, allocations: 0.8223 MB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.3573, allocations: 31.42 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3573, allocations: 0 / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of Templates: time 0.007488/0.3648, allocations: 4.593 MB / 1.07 GB, free: 6.574 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches