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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108.5 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 192 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6655 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.95 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2534, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6299/0.8834, allocations: 167.4 MB / 1.115 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.8863, allocations: 1.554 MB / 1.116 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.8867, allocations: 12.12 kB / 1.116 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.8872, allocations: 149.6 kB / 1.116 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.8892, allocations: 0.7104 MB / 1.117 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.8911, allocations: 0.6095 MB / 1.118 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.8922, allocations: 0.7174 MB / 1.118 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.8927, allocations: 233.4 kB / 1.118 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.8934, allocations: 347.7 kB / 1.119 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.8938, allocations: 228.2 kB / 1.119 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.8938, allocations: 23.81 kB / 1.119 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.8955, allocations: 0.8706 MB / 1.12 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.8956, allocations: 109.7 kB / 1.12 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.8959, allocations: 172.1 kB / 1.12 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.8971, allocations: 0.7271 MB / 1.121 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8971, allocations: 0 / 1.121 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8971, allocations: 4 kB / 1.121 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.8971, allocations: 0 / 1.121 GB, free: 5.559 MB / 0.8575 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.001242/0.8984, allocations: 0.661 MB / 1.122 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8984, allocations: 9.531 kB / 1.122 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8996, allocations: 152.4 kB / 1.122 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.9002, allocations: 335.6 kB / 1.122 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.9002, allocations: 16.56 kB / 1.122 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.9002, allocations: 28.11 kB / 1.122 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.9007, allocations: 283.3 kB / 1.122 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9008, allocations: 1.859 kB / 1.122 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.9008, allocations: 11.34 kB / 1.122 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.9008, allocations: 4.5 kB / 1.122 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.9012, allocations: 202.8 kB / 1.123 GB, free: 20.73 MB / 0.8731 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.001442/0.9027, allocations: 1.228 MB / 1.124 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.903, allocations: 149.7 kB / 1.124 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.9032, allocations: 93.53 kB / 1.124 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.9038, allocations: 303.9 kB / 1.124 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.9038, allocations: 36.27 kB / 1.124 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/0.9038, allocations: 0 / 1.124 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0007987/0.9046, allocations: 295.2 kB / 1.125 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.9047, allocations: 57.36 kB / 1.125 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.9051, allocations: 324.9 kB / 1.125 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.9051, allocations: 31.64 kB / 1.125 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.9052, allocations: 179.4 kB / 1.125 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.9053, allocations: 63.77 kB / 1.125 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.9054, allocations: 45.73 kB / 1.125 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9055, allocations: 337.4 kB / 1.126 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.9057, allocations: 76.66 kB / 1.126 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.9059, allocations: 126.3 kB / 1.126 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.9062, allocations: 196.9 kB / 1.126 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9063, allocations: 2.688 kB / 1.126 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006088/0.9069, allocations: 258.8 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9069, allocations: 6.422 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9069, allocations: 1.125 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9069, allocations: 6.281 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.9072, allocations: 44.23 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9072, allocations: 6.125 kB / 1.126 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.9074, allocations: 33.19 kB / 1.126 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.9075, allocations: 11.38 kB / 1.126 GB, free: 18.62 MB / 0.8731 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.9077, allocations: 154.7 kB / 1.126 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.9077, allocations: 32.39 kB / 1.126 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.9083, allocations: 239.9 kB / 1.127 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9083, allocations: 1.922 kB / 1.127 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9083, allocations: 1.156 kB / 1.127 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9083, allocations: 1.219 kB / 1.127 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.9095, allocations: 0.7035 MB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9095, allocations: 1.938 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.9097, allocations: 38.77 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9097, allocations: 2.875 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.9097, allocations: 4.031 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.9097, allocations: 12.23 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.9097, allocations: 3.359 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.9104, allocations: 450.2 kB / 1.128 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.9105, allocations: 131.7 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.9106, allocations: 3.594 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.9108, allocations: 15.22 kB / 1.128 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.9108, allocations: 23.88 kB / 1.128 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.9108, allocations: 8.594 kB / 1.128 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002398/0.9111, allocations: 231.7 kB / 1.128 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9111, allocations: 1.203 kB / 1.128 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004388/0.9115, allocations: 83.94 kB / 1.128 GB, free: 17.64 MB / 0.8731 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/0.9119, allocations: 163.1 kB / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.9124, allocations: 179.3 kB / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9124, allocations: 0 / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.9126, allocations: 93.44 kB / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.9135, allocations: 176.3 kB / 1.129 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9146, allocations: 0.64 MB / 1.13 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.915, allocations: 0.784 MB / 1.13 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.9152, allocations: 60.08 kB / 1.13 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.9152, allocations: 27.53 kB / 1.13 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.9152, allocations: 2.531 kB / 1.13 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.01034/0.9256, allocations: 5.806 MB / 1.136 GB, free: 16.09 MB / 0.8731 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches