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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.002061/0.002061, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.002339/0.00234, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 67.31 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2899, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7767/1.067, allocations: 167.4 MB / 1.114 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003203/1.07, allocations: 1.56 MB / 1.115 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/1.07, allocations: 14.5 kB / 1.115 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/1.071, allocations: 143.4 kB / 1.115 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/1.073, allocations: 0.7107 MB / 1.116 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/1.075, allocations: 0.5937 MB / 1.117 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001029/1.076, allocations: 0.721 MB / 1.117 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/1.076, allocations: 234 kB / 1.118 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/1.077, allocations: 352.8 kB / 1.118 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/1.077, allocations: 224.5 kB / 1.118 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/1.077, allocations: 24.31 kB / 1.118 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/1.079, allocations: 0.8632 MB / 1.119 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/1.079, allocations: 111.8 kB / 1.119 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/1.08, allocations: 172 kB / 1.119 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/1.081, allocations: 0.7189 MB / 1.12 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.081, allocations: 0 / 1.12 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/1.081, allocations: 1.406 kB / 1.12 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.081, allocations: 4 kB / 1.12 GB, free: 5.398 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.001322/1.082, allocations: 0.6596 MB / 1.121 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.082, allocations: 10.06 kB / 1.121 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.084, allocations: 157.1 kB / 1.121 GB, free: 20.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/1.084, allocations: 310.8 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.084, allocations: 22.47 kB / 1.121 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/1.084, allocations: 28.84 kB / 1.121 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/1.085, allocations: 281.7 kB / 1.121 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.085, allocations: 0 / 1.121 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/1.085, allocations: 9.281 kB / 1.121 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/1.085, allocations: 5.062 kB / 1.121 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/1.085, allocations: 207 kB / 1.122 GB, free: 20.57 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.001557/1.087, allocations: 1.23 MB / 1.123 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/1.087, allocations: 153.1 kB / 1.123 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/1.088, allocations: 95.92 kB / 1.123 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/1.088, allocations: 300.4 kB / 1.123 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.088, allocations: 35.94 kB / 1.123 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/1.088, allocations: 1.438 kB / 1.123 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008691/1.089, allocations: 295.5 kB / 1.124 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/1.089, allocations: 57.72 kB / 1.124 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/1.09, allocations: 324.2 kB / 1.124 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.09, allocations: 32.75 kB / 1.124 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/1.09, allocations: 176.8 kB / 1.124 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/1.09, allocations: 65.53 kB / 1.124 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/1.09, allocations: 46.08 kB / 1.124 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.09, allocations: 337.7 kB / 1.125 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/1.09, allocations: 74.88 kB / 1.125 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/1.091, allocations: 130.2 kB / 1.125 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/1.091, allocations: 197.6 kB / 1.125 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.091, allocations: 0.9375 kB / 1.125 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005322/1.091, allocations: 257.6 kB / 1.125 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.092, allocations: 7.141 kB / 1.125 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.092, allocations: 1.375 kB / 1.125 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.092, allocations: 2.25 kB / 1.125 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/1.092, allocations: 46.89 kB / 1.125 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.092, allocations: 4.078 kB / 1.125 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/1.092, allocations: 34.16 kB / 1.125 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/1.092, allocations: 11.41 kB / 1.125 GB, free: 18.46 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.0001729/1.092, allocations: 156 kB / 1.126 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/1.092, allocations: 29.97 kB / 1.126 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/1.093, allocations: 237.8 kB / 1.126 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.093, allocations: 2.984 kB / 1.126 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.093, allocations: 1.797 kB / 1.126 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.093, allocations: 1.031 kB / 1.126 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.094, allocations: 0.7025 MB / 1.127 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.094, allocations: 2.469 kB / 1.127 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/1.094, allocations: 34.73 kB / 1.127 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.094, allocations: 3.438 kB / 1.127 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/1.094, allocations: 10.62 kB / 1.127 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.094, allocations: 12.66 kB / 1.127 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.094, allocations: 2.625 kB / 1.127 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/1.095, allocations: 447.3 kB / 1.127 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/1.095, allocations: 121 kB / 1.127 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/1.095, allocations: 8.422 kB / 1.127 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.095, allocations: 12.33 kB / 1.127 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/1.095, allocations: 24.8 kB / 1.127 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.095, allocations: 6.031 kB / 1.127 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002616/1.096, allocations: 232.3 kB / 1.127 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.096, allocations: 0 / 1.127 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000419/1.096, allocations: 87.22 kB / 1.127 GB, free: 17.48 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.0004181/1.097, allocations: 168.2 kB / 1.128 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004857/1.097, allocations: 192 kB / 1.128 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.097, allocations: 0.5625 kB / 1.128 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/1.097, allocations: 90.47 kB / 1.128 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/1.098, allocations: 177.4 kB / 1.128 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.099, allocations: 0.675 MB / 1.129 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/1.1, allocations: 0.7752 MB / 1.129 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/1.1, allocations: 33.73 kB / 1.13 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.1, allocations: 1.188 kB / 1.13 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.008463/1.108, allocations: 4.93 MB / 1.134 GB, free: 15.81 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 -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