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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.264/2.264, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 180.9 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009048, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.443e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.285, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9452/1.23, allocations: 155.5 MB / 1.364 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.231, allocations: 89.55 kB / 1.364 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02711/1.258, allocations: 11.65 MB / 1.376 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.258, allocations: 4 kB / 1.376 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.289e-05/1.258, allocations: 3.875 kB / 1.376 GB, free: 32.2 MB / 0.8386 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.0007392/1.259, allocations: 0.5842 MB / 1.376 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/1.259, allocations: 11.53 kB / 1.376 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/1.259, allocations: 46.75 kB / 1.376 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/1.259, allocations: 376.5 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/1.259, allocations: 3.906 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/1.259, allocations: 7.344 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001061/1.259, allocations: 52.28 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.26, allocations: 74.09 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.26, allocations: 7.781 kB / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.26, allocations: 0 / 1.377 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-06/1.26, allocations: 3.938 kB / 1.377 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/1.26, allocations: 490.7 kB / 1.377 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/1.26, allocations: 93.7 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/1.26, allocations: 27.45 kB / 1.377 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/1.261, allocations: 7.531 kB / 1.377 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/1.261, allocations: 79.89 kB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/1.261, allocations: 0 / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002173/1.261, allocations: 140.9 kB / 1.378 GB, free: 31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/1.261, allocations: 51.41 kB / 1.378 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/1.261, allocations: 468.6 kB / 1.378 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/1.261, allocations: 28.77 kB / 1.378 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.261, allocations: 215.7 kB / 1.378 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/1.262, allocations: 32.72 kB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/1.262, allocations: 0 / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.262, allocations: 355.8 kB / 1.379 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/1.262, allocations: 60.75 kB / 1.379 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/1.262, allocations: 85.3 kB / 1.379 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/1.262, allocations: 83.27 kB / 1.379 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.262, allocations: 0 / 1.379 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003412/1.262, allocations: 235.2 kB / 1.379 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.262, allocations: 3.781 kB / 1.379 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.262, allocations: 0 / 1.379 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.262, allocations: 7.797 kB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.263, allocations: 39.84 kB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/1.263, allocations: 0 / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/1.263, allocations: 18.11 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/1.263, allocations: 9.969 kB / 1.379 GB, free: 30.25 MB / 0.8386 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/1.263, allocations: 113 kB / 1.379 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/1.263, allocations: 42.78 kB / 1.379 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/1.263, allocations: 143.6 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.263, allocations: 3.953 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/1.263, allocations: 4 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.263, allocations: 3.984 kB / 1.379 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/1.263, allocations: 305.6 kB / 1.38 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.263, allocations: 0 / 1.38 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/1.263, allocations: 7.844 kB / 1.38 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.263, allocations: 7.812 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.263, allocations: 2.625 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.263, allocations: 0 / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.263, allocations: 0 / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/1.264, allocations: 210.7 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/1.264, allocations: 122.6 kB / 1.38 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/1.264, allocations: 0 / 1.38 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/1.264, allocations: 10.38 kB / 1.38 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/1.264, allocations: 9.344 kB / 1.38 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/1.264, allocations: 10.55 kB / 1.38 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003328/1.264, allocations: 335.5 kB / 1.38 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.264, allocations: 3.938 kB / 1.38 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002827/1.265, allocations: 72.3 kB / 1.381 GB, free: 29.57 MB / 0.8386 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007764/1.265, allocations: 388.5 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001616/1.266, allocations: 104 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.266, allocations: 0 / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/1.266, allocations: 43.77 kB / 1.381 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.266, allocations: 58.47 kB / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/1.267, allocations: 494.9 kB / 1.382 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/1.267, allocations: 0.8341 MB / 1.382 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001085/1.267, allocations: 32.58 kB / 1.382 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/1.267, allocations: 21.09 kB / 1.382 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.267, allocations: 0 / 1.382 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.006163/1.273, allocations: 2.92 MB / 1.385 GB, free: 27.36 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches