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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001764/0.001764, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.571/1.571, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.465/2.465, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7597, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004087/0.7639, allocations: 2.307 MB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.7662, allocations: 1.413 MB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.7664, allocations: 2.5 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.7671, allocations: 186.1 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.7674, allocations: 119.8 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.7678, allocations: 140.7 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.7682, allocations: 254.1 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.7684, allocations: 54.75 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.7686, allocations: 96.86 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.7687, allocations: 111.2 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.7688, allocations: 5.719 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.7689, allocations: 47.89 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.7691, allocations: 97.88 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.7692, allocations: 137.7 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.7697, allocations: 379.7 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7697, allocations: 1.156 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7697, allocations: 4 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7697, allocations: 0 / 0.9541 GB, free: 5.184 MB / 0.7169 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.001224/0.771, allocations: 0.7006 MB / 0.9548 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.771, allocations: 13.08 kB / 0.9548 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.7711, allocations: 46.53 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.7717, allocations: 408.8 kB / 0.9553 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.7718, allocations: 11.69 kB / 0.9553 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.7718, allocations: 9.75 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.7721, allocations: 99.05 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.7721, allocations: 0 / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.7721, allocations: 1 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.7721, allocations: 2.125 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.7723, allocations: 53.66 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.7732, allocations: 498.5 kB / 0.9559 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.7736, allocations: 106.4 kB / 0.956 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.7737, allocations: 44.52 kB / 0.956 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.7737, allocations: 1.469 kB / 0.956 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.7739, allocations: 91.94 kB / 0.9561 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.7739, allocations: 0 / 0.9561 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003836/0.7743, allocations: 177.3 kB / 0.9563 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.7744, allocations: 56.89 kB / 0.9564 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.7749, allocations: 0.4934 MB / 0.9568 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.7749, allocations: 31.08 kB / 0.9569 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.775, allocations: 228.8 kB / 0.9571 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.7751, allocations: 29.11 kB / 0.9571 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.7752, allocations: 43.58 kB / 0.9572 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.7753, allocations: 360.1 kB / 0.9575 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.7754, allocations: 48.95 kB / 0.9575 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.7755, allocations: 84.08 kB / 0.9576 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.7757, allocations: 105.4 kB / 0.9577 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7757, allocations: 0 / 0.9577 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003338/0.7761, allocations: 207.7 kB / 0.9579 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.7761, allocations: 5.688 kB / 0.9579 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7761, allocations: 1.406 kB / 0.9579 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.7761, allocations: 5.391 kB / 0.9579 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7763, allocations: 31.95 kB / 0.958 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7763, allocations: 6.156 kB / 0.958 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.7765, allocations: 21.83 kB / 0.958 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.7765, allocations: 7.188 kB / 0.958 GB, free: 2.039 MB / 0.7169 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.0001881/0.7767, allocations: 193.2 kB / 0.9582 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.7767, allocations: 48.03 kB / 0.9582 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/0.7768, allocations: 47.22 kB / 0.9583 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7768, allocations: 1.625 kB / 0.9583 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7768, allocations: 0 / 0.9583 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7769, allocations: 7.938 kB / 0.9583 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.7771, allocations: 320.3 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7771, allocations: 0 / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.7772, allocations: 7.406 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7772, allocations: 1.094 kB / 0.9586 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.7773, allocations: 9.484 kB / 0.9586 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7773, allocations: 0 / 0.9586 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7773, allocations: 0.875 kB / 0.9586 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.7777, allocations: 220.6 kB / 0.9588 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.7778, allocations: 118.6 kB / 0.9589 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.7778, allocations: 5.375 kB / 0.9589 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.7779, allocations: 4.125 kB / 0.9589 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.778, allocations: 17.47 kB / 0.959 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.778, allocations: 4.125 kB / 0.959 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004045/0.7784, allocations: 352.1 kB / 0.9593 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7784, allocations: 0 / 0.9593 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003126/0.7788, allocations: 45.06 kB / 0.9593 GB, free: 1.004 MB / 0.7169 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.001178/0.7799, allocations: 428.9 kB / 0.9597 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.7803, allocations: 108.9 kB / 0.9598 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7803, allocations: 1.094 kB / 0.9598 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.7804, allocations: 38.52 kB / 0.9599 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.7808, allocations: 70.23 kB / 0.96 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.7821, allocations: 0.7965 MB / 0.9607 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.7826, allocations: 0.8242 MB / 0.9615 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00014/0.7827, allocations: 41.53 kB / 0.9616 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.7828, allocations: 25.94 kB / 0.9616 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7828, allocations: 1.094 kB / 0.9616 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.008286/0.7911, allocations: 2.897 MB / 0.9644 GB, free: 13.92 MB / 0.7325 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