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.001909/0.001909, allocations: 107.4 kB / 16.41 MB, free: 6.5 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.00186/0.00186, allocations: 185.6 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.16 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.2/2.2, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9022/0.9036, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2058/1.109, allocations: 167.4 MB / 1.252 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003067/1.113, allocations: 1.557 MB / 1.254 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005472/1.113, allocations: 15.88 kB / 1.254 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/1.114, allocations: 142.9 kB / 1.254 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/1.116, allocations: 0.7429 MB / 1.255 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/1.117, allocations: 0.6186 MB / 1.255 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009303/1.118, allocations: 0.7176 MB / 1.256 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/1.119, allocations: 233.1 kB / 1.256 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/1.12, allocations: 354.7 kB / 1.256 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/1.12, allocations: 231 kB / 1.257 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/1.12, allocations: 24 kB / 1.257 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/1.121, allocations: 0.8728 MB / 1.257 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/1.122, allocations: 103.7 kB / 1.258 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/1.122, allocations: 175.1 kB / 1.258 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/1.123, allocations: 0.7304 MB / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.123, allocations: 0 / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/1.123, allocations: 4 kB / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.123, allocations: 0 / 1.258 GB, free: 15.83 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.0009641/1.124, allocations: 0.6583 MB / 1.259 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.124, allocations: 8.031 kB / 1.259 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/1.125, allocations: 163.3 kB / 1.259 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/1.125, allocations: 322.6 kB / 1.26 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/1.125, allocations: 16.56 kB / 1.26 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/1.125, allocations: 27.94 kB / 1.26 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/1.126, allocations: 289.8 kB / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.126, allocations: 0 / 1.26 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/1.126, allocations: 15.98 kB / 1.26 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.126, allocations: 7.938 kB / 1.26 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/1.126, allocations: 200.9 kB / 1.26 GB, free: 14.03 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.001392/1.128, allocations: 1.223 MB / 1.261 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/1.128, allocations: 146.4 kB / 1.261 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/1.128, allocations: 96.8 kB / 1.262 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/1.129, allocations: 307.2 kB / 1.262 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/1.129, allocations: 38.56 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/1.129, allocations: 0 / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007907/1.13, allocations: 296 kB / 1.262 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.13, allocations: 59.34 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/1.13, allocations: 320.5 kB / 1.263 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.13, allocations: 29.7 kB / 1.263 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/1.13, allocations: 188.1 kB / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/1.13, allocations: 51.2 kB / 1.263 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/1.13, allocations: 49.61 kB / 1.263 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.131, allocations: 342.8 kB / 1.263 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/1.131, allocations: 71.95 kB / 1.263 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/1.131, allocations: 125.1 kB / 1.263 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/1.131, allocations: 200 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.131, allocations: 7.875 kB / 1.264 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004725/1.132, allocations: 257.1 kB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.132, allocations: 4 kB / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.132, allocations: 0 / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.132, allocations: 8.094 kB / 1.264 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/1.132, allocations: 43.97 kB / 1.264 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.132, allocations: 3.938 kB / 1.264 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/1.132, allocations: 35.77 kB / 1.264 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.132, allocations: 8 kB / 1.264 GB, free: 9.906 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.0001562/1.133, allocations: 149.8 kB / 1.264 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/1.133, allocations: 31.62 kB / 1.264 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/1.133, allocations: 236.6 kB / 1.264 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.133, allocations: 0 / 1.264 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.133, allocations: 0 / 1.264 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.133, allocations: 4 kB / 1.264 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/1.134, allocations: 0.7068 MB / 1.265 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.134, allocations: 4 kB / 1.265 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/1.134, allocations: 32.06 kB / 1.265 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/1.134, allocations: 7.938 kB / 1.265 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.134, allocations: 8 kB / 1.265 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.134, allocations: 16.09 kB / 1.265 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.134, allocations: 0 / 1.265 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/1.135, allocations: 450.8 kB / 1.265 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.135, allocations: 128.7 kB / 1.266 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/1.135, allocations: 11.94 kB / 1.266 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/1.136, allocations: 7.938 kB / 1.266 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.136, allocations: 20.05 kB / 1.266 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/1.136, allocations: 11.98 kB / 1.266 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002254/1.136, allocations: 227 kB / 1.266 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.136, allocations: 0 / 1.266 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000382/1.136, allocations: 76 kB / 1.266 GB, free: 7.664 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.0004075/1.137, allocations: 173.2 kB / 1.266 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004334/1.137, allocations: 187.8 kB / 1.266 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.137, allocations: 0 / 1.266 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/1.137, allocations: 96.44 kB / 1.266 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/1.138, allocations: 173.5 kB / 1.267 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.139, allocations: 0.6554 MB / 1.267 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/1.14, allocations: 0.7832 MB / 1.268 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/1.14, allocations: 31.44 kB / 1.268 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.14, allocations: 0 / 1.268 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of Templates: time 0.007796/1.148, allocations: 4.955 MB / 1.273 GB, free: 0.5898 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