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.001009/0.001009, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.001039, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003644, allocations: 11.25 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003246/0.3497, allocations: 1.971 MB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.3521, allocations: 1.386 MB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.3524, allocations: 3.938 kB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.3531, allocations: 183.7 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.3535, allocations: 119.5 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.3541, allocations: 138.5 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.3545, allocations: 255.1 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.3547, allocations: 56.94 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.3549, allocations: 95.44 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3551, allocations: 111.3 kB / 1.064 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.3552, allocations: 8 kB / 1.064 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.3553, allocations: 39.98 kB / 1.064 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3555, allocations: 91.61 kB / 1.064 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.3556, allocations: 160.5 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.356, allocations: 295.3 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.356, allocations: 0 / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.356, allocations: 0 / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.356, allocations: 0 / 1.064 GB, free: 64 kB / 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.001098/0.3571, allocations: 0.6417 MB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3572, allocations: 8.031 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3573, allocations: 52.28 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.3579, allocations: 408 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3579, allocations: 8.375 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3579, allocations: 11.94 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3582, allocations: 97.58 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3582, allocations: 8 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3582, allocations: 0 / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3582, allocations: 0 / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3584, allocations: 55.91 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.3593, allocations: 0.4888 MB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3597, allocations: 106.7 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.3598, allocations: 36.84 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3598, allocations: 4 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.36, allocations: 91.31 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.3601, allocations: 0 / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004166/0.3605, allocations: 177 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3605, allocations: 51.78 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.3612, allocations: 0.5028 MB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3612, allocations: 33.7 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3614, allocations: 224 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3614, allocations: 27.59 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3615, allocations: 29.7 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3616, allocations: 358.8 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3617, allocations: 47.97 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3619, allocations: 75.11 kB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.3621, allocations: 107 kB / 1.068 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3621, allocations: 4 kB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003537/0.3625, allocations: 206.2 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3625, allocations: 8 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3625, allocations: 3.938 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3625, allocations: 0 / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.3627, allocations: 35.92 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3627, allocations: 4 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3629, allocations: 27.91 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3629, allocations: 8 kB / 1.068 GB, free: 11.92 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.000209/0.3631, allocations: 185.7 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.3632, allocations: 51.38 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.3633, allocations: 39.92 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3633, allocations: 7.984 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3633, allocations: 0 / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3633, allocations: 0 / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.3636, allocations: 325.4 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3636, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.3637, allocations: 11.98 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3637, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3637, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3637, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3638, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.3641, allocations: 228.3 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.3642, allocations: 112.6 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3643, allocations: 4 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.3644, allocations: 11.98 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.3644, allocations: 8.078 kB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3645, allocations: 7.938 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000368/0.3648, allocations: 358.8 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3648, allocations: 3.938 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002763/0.3651, allocations: 47.98 kB / 1.069 GB, free: 10.45 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.001033/0.3662, allocations: 424 kB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.3665, allocations: 111.8 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3665, allocations: 0 / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3666, allocations: 43.92 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3671, allocations: 72.08 kB / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3683, allocations: 0.8475 MB / 1.071 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.3688, allocations: 0.8262 MB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.3689, allocations: 27.42 kB / 1.072 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3689, allocations: 0 / 1.072 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.00879/0.3777, allocations: 4.6 MB / 1.076 GB, free: 3.637 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