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.001427/0.001427, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001397/0.001397, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.362/1.362, 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.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9426, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2257/1.168, allocations: 167.4 MB / 1.252 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003204/1.172, allocations: 1.563 MB / 1.254 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/1.172, allocations: 11.94 kB / 1.254 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/1.173, allocations: 146.8 kB / 1.254 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/1.175, allocations: 0.7 MB / 1.254 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/1.177, allocations: 0.6171 MB / 1.255 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001063/1.178, allocations: 0.7059 MB / 1.256 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/1.178, allocations: 233.1 kB / 1.256 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/1.179, allocations: 354.7 kB / 1.256 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/1.18, allocations: 227 kB / 1.257 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/1.18, allocations: 24 kB / 1.257 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/1.181, allocations: 0.8728 MB / 1.257 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/1.182, allocations: 103.7 kB / 1.258 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/1.182, allocations: 179.1 kB / 1.258 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/1.183, allocations: 0.7266 MB / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.183, allocations: 0 / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.183, allocations: 0 / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.183, allocations: 8 kB / 1.258 GB, free: 15.84 MB / 0.9981 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.001136/1.184, allocations: 0.6622 MB / 1.259 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.184, allocations: 8.031 kB / 1.259 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/1.186, allocations: 159.4 kB / 1.259 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/1.186, allocations: 318.7 kB / 1.26 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/1.186, allocations: 24.55 kB / 1.26 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/1.186, allocations: 23.94 kB / 1.26 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/1.187, allocations: 285.8 kB / 1.26 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.187, allocations: 4 kB / 1.26 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/1.187, allocations: 12 kB / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.187, allocations: 4 kB / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/1.187, allocations: 204.9 kB / 1.26 GB, free: 14.05 MB / 0.9981 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.001491/1.189, allocations: 1.223 MB / 1.261 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.189, allocations: 150.4 kB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.189, allocations: 96.81 kB / 1.261 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/1.19, allocations: 303.2 kB / 1.262 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.19, allocations: 34.56 kB / 1.262 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 2.975e-06/1.19, allocations: 3.938 kB / 1.262 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008477/1.191, allocations: 295.7 kB / 1.262 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.191, allocations: 55.41 kB / 1.262 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/1.191, allocations: 320.5 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/1.191, allocations: 33.7 kB / 1.262 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/1.192, allocations: 188 kB / 1.263 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/1.192, allocations: 59.19 kB / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/1.192, allocations: 45.61 kB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.192, allocations: 338.8 kB / 1.263 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/1.192, allocations: 67.95 kB / 1.263 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/1.192, allocations: 138.4 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/1.193, allocations: 197 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.193, allocations: 3.938 kB / 1.263 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005171/1.193, allocations: 255.6 kB / 1.264 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.193, allocations: 4 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.193, allocations: 4 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.193, allocations: 3.984 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/1.193, allocations: 48.02 kB / 1.264 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.193, allocations: 0 / 1.264 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/1.194, allocations: 31.77 kB / 1.264 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/1.194, allocations: 8 kB / 1.264 GB, free: 9.93 MB / 0.9981 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.0001532/1.194, allocations: 161.7 kB / 1.264 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/1.194, allocations: 27.62 kB / 1.264 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/1.194, allocations: 231.2 kB / 1.264 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.194, allocations: 0 / 1.264 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.194, allocations: 8 kB / 1.264 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.194, allocations: 0 / 1.264 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.196, allocations: 0.7068 MB / 1.265 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.196, allocations: 4 kB / 1.265 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/1.196, allocations: 39.91 kB / 1.265 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.196, allocations: 0 / 1.265 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/1.196, allocations: 8.094 kB / 1.265 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/1.196, allocations: 11.88 kB / 1.265 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.196, allocations: 4.219 kB / 1.265 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/1.197, allocations: 452.9 kB / 1.265 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.197, allocations: 128.6 kB / 1.266 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/1.197, allocations: 8 kB / 1.266 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/1.197, allocations: 11.92 kB / 1.266 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/1.197, allocations: 19.92 kB / 1.266 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.197, allocations: 12.06 kB / 1.266 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002235/1.197, allocations: 227 kB / 1.266 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.197, allocations: 0 / 1.266 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004186/1.198, allocations: 80 kB / 1.266 GB, free: 7.676 MB / 0.9981 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.0004201/1.198, allocations: 167.7 kB / 1.266 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004526/1.199, allocations: 195.5 kB / 1.266 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.199, allocations: 0 / 1.266 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.199, allocations: 87.89 kB / 1.266 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008803/1.2, allocations: 169.8 kB / 1.266 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/1.201, allocations: 0.6556 MB / 1.267 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.201, allocations: 0.7871 MB / 1.268 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/1.201, allocations: 31.44 kB / 1.268 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/1.201, allocations: 0 / 1.268 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of Templates: time 0.008514/1.21, allocations: 4.947 MB / 1.273 GB, free: 0.6094 MB / 0.9981 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