Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.5 MB / 257 MB, free: 6.922 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.0009844/0.0009843, allocations: 172.9 kB / 316.3 MB, free: 3.254 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.549/1.549, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008588/0.0008585, allocations: 90.83 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.155e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.177/6.381, allocations: 2.18 GB / 3.065 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/6.381, allocations: 87.45 kB / 3.065 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.11/7.491, allocations: 232.5 MB / 3.292 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/7.491, allocations: 0 / 3.292 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.706e-05/7.491, allocations: 11.55 kB / 3.292 GB, free: 250.2 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00106/7.492, allocations: 0.6366 MB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/7.492, allocations: 12.03 kB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/7.494, allocations: 161.2 kB / 3.293 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/7.494, allocations: 321.2 kB / 3.293 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/7.494, allocations: 7.531 kB / 3.293 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/7.494, allocations: 14.62 kB / 3.293 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002462/7.494, allocations: 146 kB / 3.293 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/7.495, allocations: 225.3 kB / 3.294 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/7.495, allocations: 3.312 kB / 3.294 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/7.495, allocations: 2.281 kB / 3.294 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/7.495, allocations: 6.625 kB / 3.294 GB, free: 249.5 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.001112/7.496, allocations: 1.161 MB / 3.295 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/7.496, allocations: 112 kB / 3.295 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/7.496, allocations: 67.33 kB / 3.295 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/7.497, allocations: 301.5 kB / 3.295 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/7.497, allocations: 37.5 kB / 3.295 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 2.675e-06/7.497, allocations: 0 / 3.295 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0005632/7.497, allocations: 209.1 kB / 3.296 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/7.497, allocations: 55.28 kB / 3.296 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/7.497, allocations: 216.8 kB / 3.296 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/7.497, allocations: 25.7 kB / 3.296 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/7.498, allocations: 189 kB / 3.296 GB, free: 248 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/7.498, allocations: 54.75 kB / 3.296 GB, free: 248 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/7.498, allocations: 0 / 3.296 GB, free: 248 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/7.498, allocations: 335.7 kB / 3.296 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/7.498, allocations: 45.95 kB / 3.296 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/7.498, allocations: 112.3 kB / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/7.498, allocations: 92.16 kB / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/7.498, allocations: 0 / 3.297 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003662/7.498, allocations: 231.9 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/7.499, allocations: 6.406 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/7.499, allocations: 0 / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/7.499, allocations: 3.875 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/7.499, allocations: 53.34 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/7.499, allocations: 0 / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/7.499, allocations: 31.86 kB / 3.297 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/7.499, allocations: 11.39 kB / 3.297 GB, free: 247.5 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 (24): * Single equations (assignments): 24 * 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 7.742e-05/7.499, allocations: 110.3 kB / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/7.499, allocations: 29.58 kB / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/7.5, allocations: 203.5 kB / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/7.5, allocations: 0 / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.5, allocations: 3.812 kB / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/7.5, allocations: 0 / 3.297 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/7.5, allocations: 0.6346 MB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/7.5, allocations: 7.75 kB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/7.501, allocations: 42.34 kB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/7.501, allocations: 6.031 kB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/7.501, allocations: 3.75 kB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/7.501, allocations: 3.844 kB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/7.501, allocations: 3.375 kB / 3.298 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/7.501, allocations: 483.8 kB / 3.298 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/7.501, allocations: 116.9 kB / 3.299 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/7.501, allocations: 7.453 kB / 3.299 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/7.502, allocations: 14.94 kB / 3.299 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/7.502, allocations: 26.16 kB / 3.299 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/7.502, allocations: 7.688 kB / 3.299 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001272/7.502, allocations: 169.5 kB / 3.299 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.502, allocations: 0 / 3.299 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005824/7.502, allocations: 152.6 kB / 3.299 GB, free: 246.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 (17): * Single equations (assignments): 17 * 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.001736/7.504, allocations: 1.18 MB / 3.3 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002554/7.504, allocations: 133.4 kB / 3.3 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/7.504, allocations: 3.391 kB / 3.3 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/7.505, allocations: 72.23 kB / 3.3 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/7.505, allocations: 108.5 kB / 3.3 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/7.506, allocations: 420.4 kB / 3.301 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/7.506, allocations: 0.7879 MB / 3.301 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001702/7.506, allocations: 51.95 kB / 3.302 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/7.506, allocations: 23.06 kB / 3.302 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/7.506, allocations: 0 / 3.302 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.0156/7.522, allocations: 9.853 MB / 3.311 GB, free: 244.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_Velocity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches