Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00179/0.001791, allocations: 193 kB / 16.91 MB, free: 6.195 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 / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001965, allocations: 60.58 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.752/1.07, allocations: 165.1 MB / 1.225 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003222/1.074, allocations: 1.555 MB / 1.227 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/1.074, allocations: 11.97 kB / 1.227 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/1.075, allocations: 119.2 kB / 1.227 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/1.077, allocations: 0.669 MB / 1.228 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/1.078, allocations: 0.5563 MB / 1.228 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001046/1.079, allocations: 0.7095 MB / 1.229 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/1.08, allocations: 216.5 kB / 1.229 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/1.081, allocations: 341.3 kB / 1.229 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/1.081, allocations: 229.1 kB / 1.23 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/1.081, allocations: 21.31 kB / 1.23 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/1.083, allocations: 0.8916 MB / 1.231 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/1.083, allocations: 109.8 kB / 1.231 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/1.083, allocations: 180.4 kB / 1.231 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008137/1.084, allocations: 0.4936 MB / 1.231 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.084, allocations: 6.375 kB / 1.231 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/1.084, allocations: 0 / 1.231 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.084, allocations: 0 / 1.231 GB, free: 14.15 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001238/1.085, allocations: 0.6404 MB / 1.232 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.085, allocations: 12.62 kB / 1.232 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.087, allocations: 159.4 kB / 1.232 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/1.087, allocations: 309.7 kB / 1.232 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.087, allocations: 16.38 kB / 1.232 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/1.087, allocations: 29.38 kB / 1.232 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/1.088, allocations: 279.5 kB / 1.233 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.088, allocations: 3.938 kB / 1.233 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/1.088, allocations: 8 kB / 1.233 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.088, allocations: 8 kB / 1.233 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/1.088, allocations: 195.8 kB / 1.233 GB, free: 12.46 MB / 0.9512 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.001628/1.09, allocations: 1.209 MB / 1.234 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/1.09, allocations: 138.5 kB / 1.234 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/1.09, allocations: 92.8 kB / 1.234 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/1.091, allocations: 303.2 kB / 1.235 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.091, allocations: 34.5 kB / 1.235 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/1.091, allocations: 0 / 1.235 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007955/1.092, allocations: 286.2 kB / 1.235 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.092, allocations: 51.41 kB / 1.235 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/1.092, allocations: 316.5 kB / 1.235 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.092, allocations: 29.7 kB / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.093, allocations: 184.2 kB / 1.235 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/1.093, allocations: 51.19 kB / 1.235 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/1.093, allocations: 45.7 kB / 1.236 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.093, allocations: 334.8 kB / 1.236 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/1.093, allocations: 68.77 kB / 1.236 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/1.093, allocations: 129 kB / 1.236 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/1.094, allocations: 193 kB / 1.236 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.094, allocations: 0 / 1.236 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004713/1.094, allocations: 236.3 kB / 1.236 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.094, allocations: 8 kB / 1.236 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.094, allocations: 0 / 1.236 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.094, allocations: 4 kB / 1.236 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.094, allocations: 51.94 kB / 1.237 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.094, allocations: 3.938 kB / 1.237 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/1.095, allocations: 39.67 kB / 1.237 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/1.095, allocations: 4 kB / 1.237 GB, free: 8.441 MB / 0.9512 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 (22): * Single equations (assignments): 22 * 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.0001722/1.095, allocations: 153.8 kB / 1.237 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/1.095, allocations: 23.72 kB / 1.237 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/1.095, allocations: 229.9 kB / 1.237 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.095, allocations: 3.938 kB / 1.237 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.095, allocations: 0 / 1.237 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.095, allocations: 0 / 1.237 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.097, allocations: 0.6796 MB / 1.238 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.097, allocations: 0 / 1.238 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/1.097, allocations: 31.92 kB / 1.238 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.097, allocations: 7.938 kB / 1.238 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.097, allocations: 16.14 kB / 1.238 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.097, allocations: 4 kB / 1.238 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.097, allocations: 4 kB / 1.238 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/1.097, allocations: 430.5 kB / 1.238 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.098, allocations: 124.6 kB / 1.238 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/1.098, allocations: 7.938 kB / 1.238 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.098, allocations: 20.05 kB / 1.238 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/1.098, allocations: 15.92 kB / 1.238 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/1.098, allocations: 8 kB / 1.238 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000234/1.098, allocations: 227 kB / 1.238 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 0 / 1.238 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004028/1.099, allocations: 76 kB / 1.239 GB, free: 6.266 MB / 0.9512 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 (15): * Single equations (assignments): 15 * 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.0004655/1.099, allocations: 171.6 kB / 1.239 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004442/1.099, allocations: 175.8 kB / 1.239 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.099, allocations: 0 / 1.239 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/1.1, allocations: 88.33 kB / 1.239 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/1.101, allocations: 170.3 kB / 1.239 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/1.102, allocations: 0.7287 MB / 1.24 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.102, allocations: 0.7756 MB / 1.241 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/1.102, allocations: 27.44 kB / 1.241 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/1.102, allocations: 0 / 1.241 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of Templates: time 0.008269/1.11, allocations: 4.802 MB / 1.245 GB, free: 15.32 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches