Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001203/0.001203, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009337/0.0009339, allocations: 103.6 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.469e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.822/5.153, allocations: 1.907 GB / 3.126 GB, free: 408.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.154, allocations: 83.95 kB / 3.126 GB, free: 408 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.449/5.603, allocations: 246.8 MB / 3.367 GB, free: 156 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.553e-06/5.603, allocations: 0 / 3.367 GB, free: 156 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.549e-05/5.603, allocations: 8 kB / 3.367 GB, free: 156 MB / 1.167 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.001195/5.604, allocations: 0.6311 MB / 3.367 GB, free: 155.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/5.604, allocations: 12.03 kB / 3.367 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/5.605, allocations: 155.4 kB / 3.368 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/5.606, allocations: 313.8 kB / 3.368 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/5.606, allocations: 16.44 kB / 3.368 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/5.606, allocations: 28 kB / 3.368 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/5.606, allocations: 259.5 kB / 3.368 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/5.606, allocations: 0 / 3.368 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/5.606, allocations: 8 kB / 3.368 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/5.606, allocations: 7.953 kB / 3.368 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/5.607, allocations: 159.8 kB / 3.368 GB, free: 154.3 MB / 1.167 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.001345/5.608, allocations: 1.221 MB / 3.37 GB, free: 153 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/5.608, allocations: 102.6 kB / 3.37 GB, free: 152.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/5.608, allocations: 68.83 kB / 3.37 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/5.609, allocations: 299.3 kB / 3.37 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/5.609, allocations: 38.5 kB / 3.37 GB, free: 152.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/5.609, allocations: 0 / 3.37 GB, free: 152.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0004682/5.609, allocations: 175.8 kB / 3.37 GB, free: 152.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/5.609, allocations: 55.41 kB / 3.37 GB, free: 152.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/5.609, allocations: 278.6 kB / 3.371 GB, free: 151.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/5.609, allocations: 29.7 kB / 3.371 GB, free: 151.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/5.61, allocations: 180.2 kB / 3.371 GB, free: 151.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/5.61, allocations: 55.25 kB / 3.371 GB, free: 151.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/5.61, allocations: 0 / 3.371 GB, free: 151.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/5.61, allocations: 342.8 kB / 3.371 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/5.61, allocations: 48.36 kB / 3.371 GB, free: 151.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/5.61, allocations: 120.1 kB / 3.371 GB, free: 151.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/5.61, allocations: 59.34 kB / 3.371 GB, free: 151 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/5.61, allocations: 0 / 3.371 GB, free: 151 MB / 1.167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002722/5.61, allocations: 209.1 kB / 3.371 GB, free: 150.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/5.61, allocations: 8 kB / 3.372 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/5.61, allocations: 0 / 3.372 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/5.61, allocations: 4 kB / 3.372 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/5.611, allocations: 43.91 kB / 3.372 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/5.611, allocations: 4 kB / 3.372 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/5.611, allocations: 43.8 kB / 3.372 GB, free: 150.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/5.611, allocations: 8 kB / 3.372 GB, free: 150.7 MB / 1.167 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 6.918e-05/5.611, allocations: 120.9 kB / 3.372 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/5.611, allocations: 31.62 kB / 3.372 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/5.611, allocations: 180.5 kB / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/5.611, allocations: 0 / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.611, allocations: 7.984 kB / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/5.611, allocations: 0 / 3.372 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000699/5.612, allocations: 0.6406 MB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.612, allocations: 7.984 kB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/5.612, allocations: 32.05 kB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/5.612, allocations: 4 kB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/5.612, allocations: 8 kB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/5.612, allocations: 7.953 kB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/5.612, allocations: 4.031 kB / 3.373 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/5.613, allocations: 461.1 kB / 3.373 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/5.613, allocations: 112.8 kB / 3.373 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/5.613, allocations: 15.89 kB / 3.373 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/5.613, allocations: 23.95 kB / 3.373 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/5.613, allocations: 15.97 kB / 3.373 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/5.613, allocations: 8 kB / 3.373 GB, free: 148.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001645/5.613, allocations: 218.2 kB / 3.373 GB, free: 148.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/5.613, allocations: 0 / 3.373 GB, free: 148.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006754/5.614, allocations: 171.9 kB / 3.374 GB, free: 148.5 MB / 1.167 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.001503/5.615, allocations: 1.035 MB / 3.375 GB, free: 147.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000268/5.616, allocations: 131 kB / 3.375 GB, free: 147.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/5.616, allocations: 4 kB / 3.375 GB, free: 147.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/5.616, allocations: 68.23 kB / 3.375 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/5.617, allocations: 161.4 kB / 3.375 GB, free: 147.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/5.617, allocations: 436.7 kB / 3.375 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/5.618, allocations: 0.7799 MB / 3.376 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002463/5.618, allocations: 66.86 kB / 3.376 GB, free: 145.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/5.618, allocations: 23.44 kB / 3.376 GB, free: 145.7 MB / 1.167 GB Notification: Performance of SimCode: time 4.51e-07/5.618, allocations: 0 / 3.376 GB, free: 145.7 MB / 1.167 GB Notification: Performance of Templates: time 0.02481/5.643, allocations: 20.68 MB / 3.396 GB, free: 125.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches