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.001138/0.001138, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001208/0.001208, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.514/2.514, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004479/1.072, allocations: 2.266 MB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002471/1.075, allocations: 1.444 MB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/1.075, allocations: 7.938 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007193/1.076, allocations: 183.1 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005988/1.077, allocations: 131.3 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/1.077, allocations: 173.2 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004976/1.078, allocations: 271 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/1.078, allocations: 56.38 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/1.078, allocations: 111.5 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/1.078, allocations: 111.4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/1.078, allocations: 16 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/1.079, allocations: 51.98 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/1.079, allocations: 107.6 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/1.079, allocations: 146.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007624/1.08, allocations: 392.5 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.08, allocations: 0 / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.923e-06/1.08, allocations: 0 / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.08, allocations: 0 / 1.173 GB, free: 14.41 MB / 0.9044 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.001581/1.081, allocations: 0.7074 MB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.081, allocations: 8.031 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/1.082, allocations: 56.28 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/1.082, allocations: 408 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.082, allocations: 8.375 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/1.082, allocations: 7.938 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/1.083, allocations: 97.58 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.083, allocations: 0 / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/1.083, allocations: 4 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.083, allocations: 4 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/1.083, allocations: 55.06 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/1.084, allocations: 492.4 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/1.084, allocations: 106.7 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/1.084, allocations: 40.84 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/1.084, allocations: 4 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/1.084, allocations: 87.25 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/1.085, allocations: 0 / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004477/1.085, allocations: 181 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/1.085, allocations: 55.39 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/1.086, allocations: 0.5027 MB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.086, allocations: 29.64 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/1.086, allocations: 228 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/1.086, allocations: 27.7 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/1.086, allocations: 49.61 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.086, allocations: 362.8 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/1.086, allocations: 43.98 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/1.087, allocations: 84.23 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/1.087, allocations: 103.8 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.087, allocations: 0 / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003755/1.087, allocations: 209 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.087, allocations: 4 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.087, allocations: 0 / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.087, allocations: 4 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/1.087, allocations: 36.05 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.087, allocations: 0 / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/1.088, allocations: 19.92 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/1.088, allocations: 8 kB / 1.176 GB, free: 10.2 MB / 0.9044 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.0003013/1.088, allocations: 192.7 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/1.088, allocations: 43.44 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.869e-05/1.088, allocations: 51.91 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.088, allocations: 4 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.088, allocations: 4 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.088, allocations: 0 / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/1.088, allocations: 321.3 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.088, allocations: 4 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/1.089, allocations: 4 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.089, allocations: 4 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.089, allocations: 7.984 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.089, allocations: 384 / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.089, allocations: 0 / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/1.089, allocations: 220.3 kB / 1.177 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.089, allocations: 128.4 kB / 1.177 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/1.089, allocations: 4 kB / 1.177 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/1.089, allocations: 4 kB / 1.177 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/1.089, allocations: 19.97 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.09, allocations: 0 / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003904/1.09, allocations: 358.8 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.9e-07/1.09, allocations: 0 / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002988/1.09, allocations: 44.06 kB / 1.178 GB, free: 8.719 MB / 0.9044 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.00112/1.091, allocations: 410.3 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003126/1.092, allocations: 107.9 kB / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.092, allocations: 0 / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/1.092, allocations: 39.92 kB / 1.178 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/1.092, allocations: 82 kB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/1.094, allocations: 0.7437 MB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.094, allocations: 0.8221 MB / 1.18 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/1.094, allocations: 23.44 kB / 1.18 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/1.094, allocations: 4 kB / 1.18 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of Templates: time 0.009283/1.104, allocations: 4.629 MB / 1.185 GB, free: 1.996 MB / 0.9044 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/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