Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008944/0.0008942, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005023, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8179, allocations: 142.3 MB / 0.9535 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1873/1.005, allocations: 140.2 MB / 1.09 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002951/1.008, allocations: 1.58 MB / 1.092 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/1.009, allocations: 11.88 kB / 1.092 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006626/1.009, allocations: 175.2 kB / 1.092 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/1.011, allocations: 0.518 MB / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/1.012, allocations: 489.3 kB / 1.093 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/1.013, allocations: 431.6 kB / 1.093 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/1.013, allocations: 193.2 kB / 1.094 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/1.014, allocations: 335 kB / 1.094 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/1.014, allocations: 151.4 kB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/1.014, allocations: 12 kB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009477/1.015, allocations: 423.3 kB / 1.095 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/1.015, allocations: 91.77 kB / 1.095 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/1.015, allocations: 85.52 kB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005322/1.016, allocations: 387.2 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.016, allocations: 0 / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.37e-06/1.016, allocations: 4 kB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.016, allocations: 0 / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008388/1.017, allocations: 0.5881 MB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.017, allocations: 12.03 kB / 1.096 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.018, allocations: 163.4 kB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/1.018, allocations: 289.9 kB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/1.018, allocations: 20.44 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/1.018, allocations: 20 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/1.019, allocations: 283.5 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.019, allocations: 3.953 kB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.019, allocations: 8 kB / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.019, allocations: 8 kB / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/1.019, allocations: 203.8 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/1.021, allocations: 1.225 MB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/1.021, allocations: 134.5 kB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/1.021, allocations: 141 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.021, allocations: 38.56 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/1.021, allocations: 0 / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0007684/1.022, allocations: 299.6 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/1.022, allocations: 55.41 kB / 1.098 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/1.022, allocations: 312.5 kB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.023, allocations: 29.7 kB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.023, allocations: 188.1 kB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/1.023, allocations: 55.23 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/1.023, allocations: 0 / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.023, allocations: 338.8 kB / 1.099 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/1.023, allocations: 75.94 kB / 1.099 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/1.023, allocations: 127 kB / 1.1 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/1.023, allocations: 91.89 kB / 1.1 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.023, allocations: 0 / 1.1 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004538/1.024, allocations: 245.1 kB / 1.1 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.024, allocations: 8 kB / 1.1 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.024, allocations: 0 / 1.1 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.024, allocations: 8.094 kB / 1.1 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/1.024, allocations: 39.98 kB / 1.1 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.024, allocations: 3.938 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.024, allocations: 47.61 kB / 1.1 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/1.025, allocations: 8 kB / 1.1 GB, free: 9.488 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001558/1.025, allocations: 145.8 kB / 1.1 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/1.025, allocations: 27.72 kB / 1.1 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/1.025, allocations: 232.2 kB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.025, allocations: 4 kB / 1.1 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.025, allocations: 4 kB / 1.1 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.025, allocations: 0 / 1.1 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/1.026, allocations: 0.6875 MB / 1.101 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.026, allocations: 0 / 1.101 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/1.026, allocations: 39.92 kB / 1.101 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/1.026, allocations: 7.953 kB / 1.101 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/1.026, allocations: 4.219 kB / 1.101 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.026, allocations: 8 kB / 1.101 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.026, allocations: 4 kB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/1.027, allocations: 0.5258 MB / 1.102 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.027, allocations: 136.6 kB / 1.102 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/1.027, allocations: 0 / 1.102 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/1.028, allocations: 24.05 kB / 1.102 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/1.028, allocations: 15.92 kB / 1.102 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/1.028, allocations: 4 kB / 1.102 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002202/1.028, allocations: 223 kB / 1.102 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.028, allocations: 0 / 1.102 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000419/1.028, allocations: 87.84 kB / 1.102 GB, free: 7.133 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0004594/1.029, allocations: 165.9 kB / 1.102 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004279/1.029, allocations: 179.9 kB / 1.102 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.029, allocations: 0 / 1.102 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.029, allocations: 95.81 kB / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/1.03, allocations: 157.1 kB / 1.103 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.031, allocations: 0.7081 MB / 1.103 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/1.032, allocations: 0.7875 MB / 1.104 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002028/1.032, allocations: 58.94 kB / 1.104 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/1.032, allocations: 23.44 kB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of SimCode: time 1.383e-06/1.032, allocations: 4 kB / 1.104 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of Templates: time 0.009591/1.042, allocations: 5.265 MB / 1.109 GB, free: 15.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches