Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 176.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008025/0.0008025, allocations: 82.48 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.869e-05, allocations: 8 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1874, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.167/5.354, allocations: 2.179 GB / 3.071 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/5.355, allocations: 83.95 kB / 3.071 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.126/6.48, allocations: 235.4 MB / 3.301 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.858e-06/6.48, allocations: 0 / 3.301 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.258e-05/6.48, allocations: 11.45 kB / 3.301 GB, free: 240.3 MB / 0.8698 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.001771/6.482, allocations: 0.6275 MB / 3.302 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/6.482, allocations: 11.09 kB / 3.302 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/6.484, allocations: 151.3 kB / 3.302 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/6.485, allocations: 322 kB / 3.302 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/6.485, allocations: 15.38 kB / 3.302 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/6.485, allocations: 26.56 kB / 3.302 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/6.485, allocations: 254.6 kB / 3.303 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/6.485, allocations: 0 / 3.303 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/6.485, allocations: 10.25 kB / 3.303 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/6.485, allocations: 3.844 kB / 3.303 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/6.485, allocations: 165.2 kB / 3.303 GB, free: 239.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001602/6.487, allocations: 1.217 MB / 3.304 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/6.487, allocations: 101.3 kB / 3.304 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/6.487, allocations: 70.77 kB / 3.304 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/6.488, allocations: 302.4 kB / 3.304 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/6.488, allocations: 36.91 kB / 3.304 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/6.488, allocations: 0 / 3.304 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005198/6.489, allocations: 177.5 kB / 3.305 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/6.489, allocations: 51.41 kB / 3.305 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/6.489, allocations: 282.7 kB / 3.305 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/6.489, allocations: 32.77 kB / 3.305 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/6.489, allocations: 181.4 kB / 3.305 GB, free: 238 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/6.489, allocations: 47.64 kB / 3.305 GB, free: 238 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/6.489, allocations: 7.719 kB / 3.305 GB, free: 238 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.166e-05/6.489, allocations: 336.3 kB / 3.305 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/6.489, allocations: 53.27 kB / 3.306 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/6.489, allocations: 117 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/6.49, allocations: 55.62 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/6.49, allocations: 3.125 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003198/6.49, allocations: 211.3 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/6.49, allocations: 3.906 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/6.49, allocations: 3.906 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/6.49, allocations: 0 / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/6.49, allocations: 46.31 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/6.49, allocations: 7.156 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/6.49, allocations: 35.36 kB / 3.306 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/6.49, allocations: 11.47 kB / 3.306 GB, free: 237.6 MB / 0.8698 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 () * 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 8.462e-05/6.491, allocations: 122.8 kB / 3.306 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/6.491, allocations: 35.3 kB / 3.306 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/6.491, allocations: 177.2 kB / 3.306 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/6.491, allocations: 3.812 kB / 3.306 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.491, allocations: 0 / 3.306 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/6.491, allocations: 0 / 3.306 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000849/6.492, allocations: 0.6414 MB / 3.307 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/6.492, allocations: 3.938 kB / 3.307 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/6.492, allocations: 37.73 kB / 3.307 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/6.492, allocations: 7.516 kB / 3.307 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/6.492, allocations: 7.031 kB / 3.307 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/6.492, allocations: 3.938 kB / 3.307 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/6.492, allocations: 7.219 kB / 3.307 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/6.493, allocations: 461.3 kB / 3.307 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/6.493, allocations: 107.9 kB / 3.308 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/6.493, allocations: 7.562 kB / 3.308 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/6.493, allocations: 29.73 kB / 3.308 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/6.493, allocations: 14.09 kB / 3.308 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/6.493, allocations: 3.969 kB / 3.308 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002259/6.493, allocations: 229.4 kB / 3.308 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.493, allocations: 0 / 3.308 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008486/6.494, allocations: 170.5 kB / 3.308 GB, free: 236.5 MB / 0.8698 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 () * 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.001982/6.496, allocations: 1.029 MB / 3.309 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003157/6.497, allocations: 132.5 kB / 3.309 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/6.497, allocations: 0 / 3.309 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/6.497, allocations: 74.25 kB / 3.309 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/6.498, allocations: 164 kB / 3.309 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/6.498, allocations: 434.3 kB / 3.31 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/6.499, allocations: 0.7817 MB / 3.311 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002529/6.499, allocations: 64.39 kB / 3.311 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/6.499, allocations: 23.06 kB / 3.311 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of SimCode: time 9.21e-07/6.499, allocations: 0 / 3.311 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03003/6.529, allocations: 20.66 MB / 3.331 GB, free: 234.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches