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.428/1.428, allocations: 251.9 MB / 266.9 MB, free: 11 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.001118/0.001118, allocations: 186.8 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008769/0.0008767, allocations: 88.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 9.031 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2285, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.032/6.26, allocations: 2.179 GB / 3.08 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/6.261, allocations: 88.98 kB / 3.08 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4456/6.706, allocations: 235.7 MB / 3.31 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.914e-06/6.706, allocations: 3.938 kB / 3.31 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.673e-05/6.706, allocations: 15.98 kB / 3.31 GB, free: 109.3 MB / 0.8855 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.001217/6.707, allocations: 0.6817 MB / 3.311 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/6.708, allocations: 8.031 kB / 3.311 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/6.709, allocations: 147.4 kB / 3.311 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/6.709, allocations: 317.8 kB / 3.311 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/6.709, allocations: 20.44 kB / 3.311 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/6.709, allocations: 20 kB / 3.311 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/6.71, allocations: 279.4 kB / 3.311 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/6.71, allocations: 0 / 3.311 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/6.71, allocations: 12 kB / 3.311 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/6.71, allocations: 11.89 kB / 3.311 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/6.71, allocations: 195.8 kB / 3.311 GB, free: 107.5 MB / 0.8855 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.001173/6.711, allocations: 1.213 MB / 3.313 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/6.711, allocations: 122.5 kB / 3.313 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004241/6.712, allocations: 299.3 kB / 3.313 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/6.712, allocations: 42.55 kB / 3.313 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/6.712, allocations: 0 / 3.313 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006487/6.713, allocations: 271.3 kB / 3.313 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/6.713, allocations: 55.41 kB / 3.313 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/6.713, allocations: 279.6 kB / 3.314 GB, free: 105 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/6.713, allocations: 33.7 kB / 3.314 GB, free: 105 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/6.713, allocations: 180.2 kB / 3.314 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/6.713, allocations: 55.2 kB / 3.314 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/6.713, allocations: 0 / 3.314 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.803e-05/6.713, allocations: 342.8 kB / 3.314 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/6.713, allocations: 64.33 kB / 3.314 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/6.713, allocations: 135.5 kB / 3.314 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/6.714, allocations: 84.84 kB / 3.315 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/6.714, allocations: 0 / 3.315 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003601/6.714, allocations: 237.1 kB / 3.315 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/6.714, allocations: 8.094 kB / 3.315 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/6.714, allocations: 4 kB / 3.315 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/6.714, allocations: 4 kB / 3.315 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/6.714, allocations: 43.98 kB / 3.315 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/6.714, allocations: 8 kB / 3.315 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/6.715, allocations: 39.81 kB / 3.315 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/6.715, allocations: 8 kB / 3.315 GB, free: 103.8 MB / 0.8855 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.0001202/6.715, allocations: 153.7 kB / 3.315 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/6.715, allocations: 27.62 kB / 3.315 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/6.715, allocations: 216.4 kB / 3.315 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/6.715, allocations: 4 kB / 3.315 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/6.715, allocations: 0 / 3.315 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/6.715, allocations: 3.984 kB / 3.315 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/6.716, allocations: 0.6756 MB / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/6.716, allocations: 0 / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/6.716, allocations: 40.14 kB / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/6.716, allocations: 4 kB / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/6.716, allocations: 4 kB / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/6.716, allocations: 0 / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.716, allocations: 7.953 kB / 3.316 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/6.717, allocations: 0.5073 MB / 3.316 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/6.717, allocations: 116.8 kB / 3.317 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/6.717, allocations: 12.02 kB / 3.317 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/6.717, allocations: 23.89 kB / 3.317 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/6.717, allocations: 11.92 kB / 3.317 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/6.717, allocations: 12 kB / 3.317 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000167/6.717, allocations: 223 kB / 3.317 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/6.717, allocations: 4 kB / 3.317 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007322/6.718, allocations: 171.9 kB / 3.317 GB, free: 101.4 MB / 0.8855 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.001447/6.72, allocations: 1.034 MB / 3.318 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003843/6.72, allocations: 165.9 kB / 3.318 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/6.72, allocations: 4 kB / 3.318 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/6.72, allocations: 88.52 kB / 3.318 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007311/6.721, allocations: 168.8 kB / 3.318 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/6.722, allocations: 0.6924 MB / 3.319 GB, free: 99.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/6.722, allocations: 0.7799 MB / 3.32 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002041/6.722, allocations: 70.92 kB / 3.32 GB, free: 98.31 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/6.722, allocations: 23.44 kB / 3.32 GB, free: 98.29 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/6.722, allocations: 0 / 3.32 GB, free: 98.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.02114/6.743, allocations: 17.81 MB / 3.337 GB, free: 80.55 MB / 0.8855 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