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.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001621/0.001621, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.495/2.495, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7744, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004523/0.7789, allocations: 2.312 MB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.7816, allocations: 1.416 MB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.7819, allocations: 1.219 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007448/0.7827, allocations: 183.2 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.7833, allocations: 128.7 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.7838, allocations: 135.8 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.7843, allocations: 277.4 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.7845, allocations: 52.62 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.7847, allocations: 109.2 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.785, allocations: 118.3 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.785, allocations: 13.44 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.7852, allocations: 48.02 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.7854, allocations: 102.4 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.7856, allocations: 153.6 kB / 0.954 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.7861, allocations: 392.1 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7861, allocations: 0 / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7862, allocations: 5.25 kB / 0.9544 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.7862, allocations: 0 / 0.9544 GB, free: 5.078 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.001254/0.7874, allocations: 0.7001 MB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7875, allocations: 9.875 kB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.7876, allocations: 45.44 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.7882, allocations: 417.1 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.7882, allocations: 4.219 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.7882, allocations: 17.41 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.7885, allocations: 92.47 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7885, allocations: 1.281 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.7885, allocations: 4 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7885, allocations: 2.281 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.7887, allocations: 54.53 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.7895, allocations: 494.3 kB / 0.9561 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.7898, allocations: 110.7 kB / 0.9563 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.7899, allocations: 35.81 kB / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.79, allocations: 6.656 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.7901, allocations: 95 kB / 0.9564 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.7902, allocations: 0 / 0.9564 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004359/0.7906, allocations: 176.8 kB / 0.9566 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.7907, allocations: 57.05 kB / 0.9566 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.7913, allocations: 0.4895 MB / 0.9571 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.7913, allocations: 35.08 kB / 0.9571 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.7915, allocations: 224.8 kB / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.7915, allocations: 29.11 kB / 0.9574 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.7916, allocations: 47.58 kB / 0.9574 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7917, allocations: 360.5 kB / 0.9578 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.7918, allocations: 45.48 kB / 0.9578 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.792, allocations: 74.11 kB / 0.9579 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.7922, allocations: 111 kB / 0.958 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7922, allocations: 0 / 0.958 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003971/0.7926, allocations: 205.9 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7926, allocations: 4.688 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7926, allocations: 1.156 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7927, allocations: 1.156 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.7928, allocations: 36.98 kB / 0.9582 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7929, allocations: 5.5 kB / 0.9582 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.793, allocations: 22.48 kB / 0.9582 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.7931, allocations: 6.219 kB / 0.9582 GB, free: 1.941 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.0001976/0.7933, allocations: 190.8 kB / 0.9584 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.7934, allocations: 48.89 kB / 0.9585 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.7934, allocations: 47.05 kB / 0.9585 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7935, allocations: 0 / 0.9585 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7935, allocations: 5.812 kB / 0.9585 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7935, allocations: 7.984 kB / 0.9585 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.7938, allocations: 319.2 kB / 0.9588 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.7938, allocations: 0.9062 kB / 0.9588 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.7939, allocations: 6.969 kB / 0.9588 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.7939, allocations: 5.078 kB / 0.9588 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.7939, allocations: 1.094 kB / 0.9588 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7939, allocations: 1.594 kB / 0.9588 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7939, allocations: 0 / 0.9588 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.7943, allocations: 232.4 kB / 0.9591 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.7944, allocations: 114.5 kB / 0.9592 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.7945, allocations: 6.188 kB / 0.9592 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.7946, allocations: 7.266 kB / 0.9592 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.7947, allocations: 10.58 kB / 0.9592 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.7947, allocations: 2.75 kB / 0.9592 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003562/0.795, allocations: 357 kB / 0.9595 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7951, allocations: 3.938 kB / 0.9595 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002999/0.7954, allocations: 45.12 kB / 0.9596 GB, free: 0.8984 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.0009524/0.7963, allocations: 429 kB / 0.96 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.7966, allocations: 116.1 kB / 0.9601 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7966, allocations: 0 / 0.9601 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.7968, allocations: 42.78 kB / 0.9602 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.7973, allocations: 64.84 kB / 0.9602 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.7991, allocations: 0.7886 MB / 0.961 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.7998, allocations: 0.8295 MB / 0.9618 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002/0.8, allocations: 33.42 kB / 0.9618 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.8001, allocations: 26.62 kB / 0.9619 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8001, allocations: 0 / 0.9619 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.01054/0.8107, allocations: 2.996 MB / 0.9648 GB, free: 13.77 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