Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 179 kB / 326.5 MB, free: 2.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.5775 GB, free: 20.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009445/0.0009444, allocations: 85.25 kB / 0.6821 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 13.3 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 106.3 MB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.379, allocations: 137 MB / 1.034 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.3793, allocations: 91.94 kB / 1.034 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02957/0.4089, allocations: 11.12 MB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4089, allocations: 0 / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.901e-05/0.409, allocations: 4 kB / 1.045 GB, free: 12.02 MB / 0.698 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.001197/0.4102, allocations: 0.6765 MB / 1.046 GB, free: 11.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4102, allocations: 8.031 kB / 1.046 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4104, allocations: 43.44 kB / 1.046 GB, free: 11.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.411, allocations: 363.1 kB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4111, allocations: 8 kB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4111, allocations: 8 kB / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.4114, allocations: 99.19 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4114, allocations: 0 / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4114, allocations: 0 / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4114, allocations: 0 / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.4116, allocations: 59.91 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.4125, allocations: 0.5082 MB / 1.047 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.4127, allocations: 90.61 kB / 1.047 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4127, allocations: 4.141 kB / 1.047 GB, free: 10.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.4129, allocations: 95.27 kB / 1.047 GB, free: 9.902 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.4129, allocations: 0 / 1.047 GB, free: 9.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004034/0.4133, allocations: 177.3 kB / 1.047 GB, free: 9.723 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4134, allocations: 51.41 kB / 1.047 GB, free: 9.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.414, allocations: 481.9 kB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4141, allocations: 29.7 kB / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.4143, allocations: 220.1 kB / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.4143, allocations: 27.64 kB / 1.048 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.4143, allocations: 8 kB / 1.048 GB, free: 8.891 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4145, allocations: 358.7 kB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4146, allocations: 64.34 kB / 1.048 GB, free: 8.465 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4148, allocations: 91.28 kB / 1.048 GB, free: 8.367 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4149, allocations: 66.05 kB / 1.048 GB, free: 8.305 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4149, allocations: 0 / 1.048 GB, free: 8.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003903/0.4153, allocations: 244.9 kB / 1.048 GB, free: 8.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4154, allocations: 11.98 kB / 1.048 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4154, allocations: 0 / 1.048 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4154, allocations: 3.953 kB / 1.049 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4156, allocations: 35.91 kB / 1.049 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4156, allocations: 0 / 1.049 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4157, allocations: 19.94 kB / 1.049 GB, free: 7.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.4158, allocations: 11.98 kB / 1.049 GB, free: 7.977 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.416, allocations: 188.7 kB / 1.049 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.416, allocations: 43.44 kB / 1.049 GB, free: 7.742 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.4163, allocations: 161.4 kB / 1.049 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4164, allocations: 3.953 kB / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4164, allocations: 0 / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4164, allocations: 0 / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.4167, allocations: 317.5 kB / 1.049 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4167, allocations: 4 kB / 1.049 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.4168, allocations: 19.92 kB / 1.049 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4168, allocations: 0 / 1.049 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4168, allocations: 4 kB / 1.049 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4168, allocations: 4 kB / 1.049 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4168, allocations: 3.953 kB / 1.049 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.4172, allocations: 216.6 kB / 1.049 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4173, allocations: 116.5 kB / 1.05 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.4174, allocations: 0 / 1.05 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4175, allocations: 20.05 kB / 1.05 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4175, allocations: 7.984 kB / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.4176, allocations: 11.94 kB / 1.05 GB, free: 6.777 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003984/0.418, allocations: 358.8 kB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.623e-06/0.418, allocations: 0 / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002977/0.4183, allocations: 67.78 kB / 1.05 GB, free: 6.363 MB / 0.698 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) * Number of clocked states: 0 () * 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.001037/0.4193, allocations: 443.2 kB / 1.05 GB, free: 6.078 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.4196, allocations: 117.9 kB / 1.051 GB, free: 5.965 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4196, allocations: 4 kB / 1.051 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.4197, allocations: 35.98 kB / 1.051 GB, free: 5.926 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4201, allocations: 64.5 kB / 1.051 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4213, allocations: 0.7749 MB / 1.051 GB, free: 5.055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4217, allocations: 0.8298 MB / 1.052 GB, free: 4.199 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.4219, allocations: 29.52 kB / 1.052 GB, free: 4.168 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.4219, allocations: 23.44 kB / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.4219, allocations: 0 / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of Templates: time 0.00768/0.4296, allocations: 3.107 MB / 1.055 GB, free: 1.059 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches