Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.949/1.949, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001014/0.001014, allocations: 184.8 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009046/0.0009045, allocations: 99.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.704e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.344/4.563, allocations: 1.906 GB / 3.112 GB, free: 355.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/4.564, allocations: 91 kB / 3.112 GB, free: 355.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4264/4.99, allocations: 243.8 MB / 3.35 GB, free: 156.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.492e-06/4.99, allocations: 0 / 3.35 GB, free: 156.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.48e-05/4.99, allocations: 12 kB / 3.35 GB, free: 156.5 MB / 1.151 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.001161/4.991, allocations: 0.6429 MB / 3.35 GB, free: 155.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/4.991, allocations: 12.02 kB / 3.351 GB, free: 155.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/4.993, allocations: 155.4 kB / 3.351 GB, free: 155.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/4.993, allocations: 318.8 kB / 3.351 GB, free: 155.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/4.993, allocations: 12 kB / 3.351 GB, free: 155.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/4.993, allocations: 12 kB / 3.351 GB, free: 155.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002644/4.993, allocations: 149.1 kB / 3.351 GB, free: 155.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/4.994, allocations: 232.8 kB / 3.351 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/4.994, allocations: 0 / 3.351 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/4.994, allocations: 3.984 kB / 3.351 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/4.994, allocations: 8 kB / 3.351 GB, free: 154.9 MB / 1.151 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.001107/4.995, allocations: 1.148 MB / 3.352 GB, free: 153.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/4.995, allocations: 114.5 kB / 3.353 GB, free: 153.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/4.995, allocations: 72.84 kB / 3.353 GB, free: 153.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/4.996, allocations: 291.3 kB / 3.353 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/4.996, allocations: 46.55 kB / 3.353 GB, free: 153 MB / 1.151 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/4.996, allocations: 0 / 3.353 GB, free: 153 MB / 1.151 GB Notification: Performance of matching and sorting (n=17): time 0.0005633/4.996, allocations: 199.6 kB / 3.353 GB, free: 152.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/4.996, allocations: 55.41 kB / 3.353 GB, free: 152.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/4.996, allocations: 218.2 kB / 3.353 GB, free: 152.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/4.996, allocations: 25.7 kB / 3.353 GB, free: 152.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/4.997, allocations: 184.1 kB / 3.354 GB, free: 152.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/4.997, allocations: 59.11 kB / 3.354 GB, free: 152.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/4.997, allocations: 4 kB / 3.354 GB, free: 152.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/4.997, allocations: 338.8 kB / 3.354 GB, free: 151.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/4.997, allocations: 44.39 kB / 3.354 GB, free: 151.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/4.997, allocations: 119.2 kB / 3.354 GB, free: 151.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/4.997, allocations: 95.91 kB / 3.354 GB, free: 151.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/4.997, allocations: 0 / 3.354 GB, free: 151.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003497/4.997, allocations: 227.1 kB / 3.354 GB, free: 151.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/4.997, allocations: 4 kB / 3.354 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/4.997, allocations: 0 / 3.354 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/4.997, allocations: 4 kB / 3.354 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/4.998, allocations: 56 kB / 3.355 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/4.998, allocations: 4 kB / 3.355 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/4.998, allocations: 23.83 kB / 3.355 GB, free: 151.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/4.998, allocations: 12 kB / 3.355 GB, free: 151.3 MB / 1.151 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 6.296e-05/4.998, allocations: 112.9 kB / 3.355 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/4.998, allocations: 35.66 kB / 3.355 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/4.998, allocations: 199.5 kB / 3.355 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/4.998, allocations: 4 kB / 3.355 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/4.998, allocations: 0 / 3.355 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/4.998, allocations: 3.984 kB / 3.355 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/4.999, allocations: 0.6293 MB / 3.356 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/4.999, allocations: 0 / 3.356 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/4.999, allocations: 51.84 kB / 3.356 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/4.999, allocations: 0 / 3.356 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/4.999, allocations: 4 kB / 3.356 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/4.999, allocations: 4.219 kB / 3.356 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/4.999, allocations: 4 kB / 3.356 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/5, allocations: 482.2 kB / 3.356 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/5, allocations: 116.8 kB / 3.356 GB, free: 149.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/5, allocations: 4 kB / 3.356 GB, free: 149.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/5, allocations: 20.05 kB / 3.356 GB, free: 149.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/5, allocations: 23.81 kB / 3.356 GB, free: 149.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/5, allocations: 8 kB / 3.356 GB, free: 149.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001045/5, allocations: 170 kB / 3.356 GB, free: 149.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5, allocations: 0 / 3.356 GB, free: 149.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005208/5.001, allocations: 155.8 kB / 3.357 GB, free: 149.2 MB / 1.151 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.001348/5.002, allocations: 1.173 MB / 3.358 GB, free: 148 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002168/5.002, allocations: 134.2 kB / 3.358 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/5.002, allocations: 0 / 3.358 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/5.003, allocations: 67.86 kB / 3.358 GB, free: 147.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/5.003, allocations: 108.1 kB / 3.358 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/5.004, allocations: 428.7 kB / 3.358 GB, free: 147.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/5.004, allocations: 0.7873 MB / 3.359 GB, free: 146.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001995/5.004, allocations: 53.97 kB / 3.359 GB, free: 146.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/5.004, allocations: 23.44 kB / 3.359 GB, free: 146.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.004, allocations: 0 / 3.359 GB, free: 146.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01372/5.018, allocations: 9.872 MB / 3.369 GB, free: 136.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches