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.01152/0.01152, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00214/0.00214, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 0.9509 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.898, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2185/1.117, allocations: 167.4 MB / 1.251 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002888/1.119, allocations: 1.554 MB / 1.253 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/1.12, allocations: 11.94 kB / 1.253 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/1.12, allocations: 150.8 kB / 1.253 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/1.122, allocations: 0.7429 MB / 1.254 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/1.124, allocations: 0.6142 MB / 1.254 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008374/1.124, allocations: 0.7137 MB / 1.255 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/1.125, allocations: 237.1 kB / 1.255 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/1.126, allocations: 350.7 kB / 1.256 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/1.126, allocations: 235 kB / 1.256 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/1.126, allocations: 24 kB / 1.256 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/1.128, allocations: 0.8651 MB / 1.257 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/1.128, allocations: 111.6 kB / 1.257 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/1.128, allocations: 175.1 kB / 1.257 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/1.129, allocations: 0.7328 MB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.129, allocations: 0 / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.129, allocations: 0 / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.129, allocations: 4 kB / 1.258 GB, free: 15.82 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.001077/1.13, allocations: 0.6732 MB / 1.258 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.13, allocations: 8.031 kB / 1.258 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.131, allocations: 159.6 kB / 1.259 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/1.132, allocations: 334.7 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/1.132, allocations: 12.56 kB / 1.259 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/1.132, allocations: 27.94 kB / 1.259 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/1.133, allocations: 289.9 kB / 1.259 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.133, allocations: 3.938 kB / 1.259 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.133, allocations: 12 kB / 1.259 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.133, allocations: 4 kB / 1.259 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/1.133, allocations: 196.9 kB / 1.259 GB, free: 14.01 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.001524/1.135, allocations: 1.231 MB / 1.261 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/1.135, allocations: 158.4 kB / 1.261 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/1.135, allocations: 92.8 kB / 1.261 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/1.136, allocations: 303.2 kB / 1.261 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.136, allocations: 42.48 kB / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/1.136, allocations: 0 / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0007911/1.137, allocations: 292.1 kB / 1.261 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/1.137, allocations: 59.41 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/1.137, allocations: 316.5 kB / 1.262 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.137, allocations: 33.64 kB / 1.262 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/1.137, allocations: 184.3 kB / 1.262 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/1.137, allocations: 59.48 kB / 1.262 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.831e-05/1.137, allocations: 53.66 kB / 1.262 GB, free: 11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.138, allocations: 342.8 kB / 1.262 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/1.138, allocations: 63.95 kB / 1.263 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/1.138, allocations: 134.3 kB / 1.263 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/1.138, allocations: 193 kB / 1.263 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.138, allocations: 3.938 kB / 1.263 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004891/1.139, allocations: 252 kB / 1.263 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.139, allocations: 8 kB / 1.263 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.139, allocations: 0 / 1.263 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.139, allocations: 4 kB / 1.263 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/1.139, allocations: 52 kB / 1.263 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.139, allocations: 0 / 1.263 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/1.139, allocations: 35.77 kB / 1.263 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.139, allocations: 15.94 kB / 1.263 GB, free: 9.871 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.0001462/1.14, allocations: 149.7 kB / 1.263 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/1.14, allocations: 31.81 kB / 1.263 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/1.14, allocations: 236.6 kB / 1.264 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.14, allocations: 4 kB / 1.264 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.14, allocations: 3.984 kB / 1.264 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.14, allocations: 0 / 1.264 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.141, allocations: 0.703 MB / 1.264 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.141, allocations: 4 kB / 1.264 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/1.141, allocations: 31.92 kB / 1.264 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.141, allocations: 4.141 kB / 1.264 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.141, allocations: 8 kB / 1.264 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.141, allocations: 11.92 kB / 1.264 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.142, allocations: 12.14 kB / 1.264 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/1.142, allocations: 451.6 kB / 1.265 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.142, allocations: 124.9 kB / 1.265 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/1.142, allocations: 8 kB / 1.265 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.143, allocations: 19.86 kB / 1.265 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/1.143, allocations: 12.05 kB / 1.265 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.143, allocations: 8 kB / 1.265 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002226/1.143, allocations: 235 kB / 1.265 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.143, allocations: 0 / 1.265 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003986/1.143, allocations: 83.86 kB / 1.265 GB, free: 7.617 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.0003652/1.144, allocations: 172.5 kB / 1.265 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004569/1.144, allocations: 185.8 kB / 1.266 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.144, allocations: 0 / 1.266 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/1.144, allocations: 91.81 kB / 1.266 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/1.145, allocations: 174.6 kB / 1.266 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009102/1.146, allocations: 0.6375 MB / 1.266 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.146, allocations: 0.7832 MB / 1.267 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001826/1.147, allocations: 62.92 kB / 1.267 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/1.147, allocations: 23.44 kB / 1.267 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.147, allocations: 0 / 1.267 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of Templates: time 0.01044/1.157, allocations: 5.858 MB / 1.273 GB, free: 15.66 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches