Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005765/0.005765, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001299/0.001299, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.88 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9018, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1798/1.082, allocations: 167.4 MB / 1.371 GB, free: 5.613 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00287/1.085, allocations: 1.55 MB / 1.373 GB, free: 4.059 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/1.085, allocations: 15.94 kB / 1.373 GB, free: 4.043 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004781/1.085, allocations: 142.9 kB / 1.373 GB, free: 3.902 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/1.087, allocations: 0.7039 MB / 1.374 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/1.088, allocations: 0.602 MB / 1.374 GB, free: 2.594 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007127/1.089, allocations: 0.7012 MB / 1.375 GB, free: 1.891 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/1.09, allocations: 228.8 kB / 1.375 GB, free: 1.664 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/1.09, allocations: 342.7 kB / 1.375 GB, free: 1.328 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/1.09, allocations: 215.1 kB / 1.376 GB, free: 1.117 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/1.09, allocations: 24 kB / 1.376 GB, free: 1.094 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/1.092, allocations: 0.8728 MB / 1.376 GB, free: 224 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/1.092, allocations: 103.7 kB / 1.377 GB, free: 120 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/1.092, allocations: 163.3 kB / 1.377 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/1.093, allocations: 0.7187 MB / 1.377 GB, free: 15.24 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.093, allocations: 0 / 1.377 GB, free: 15.24 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.114e-06/1.093, allocations: 0 / 1.377 GB, free: 15.24 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.093, allocations: 0 / 1.377 GB, free: 15.24 MB / 1.107 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.000978/1.094, allocations: 0.6544 MB / 1.378 GB, free: 14.54 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.094, allocations: 8.031 kB / 1.378 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.095, allocations: 155.4 kB / 1.378 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/1.096, allocations: 321.6 kB / 1.378 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.096, allocations: 16.44 kB / 1.379 GB, free: 14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/1.096, allocations: 20 kB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/1.096, allocations: 279.4 kB / 1.379 GB, free: 13.69 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.096, allocations: 4 kB / 1.379 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/1.097, allocations: 12 kB / 1.379 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/1.097, allocations: 4 kB / 1.379 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/1.097, allocations: 199.8 kB / 1.379 GB, free: 13.47 MB / 1.107 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.001313/1.098, allocations: 1.205 MB / 1.38 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/1.099, allocations: 134.5 kB / 1.38 GB, free: 12.02 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/1.099, allocations: 96.8 kB / 1.38 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/1.099, allocations: 307.2 kB / 1.381 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.099, allocations: 34.56 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/1.099, allocations: 4 kB / 1.381 GB, free: 11.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.0007617/1.1, allocations: 286.5 kB / 1.381 GB, free: 11.24 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/1.1, allocations: 55.41 kB / 1.381 GB, free: 11.17 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/1.1, allocations: 308.5 kB / 1.381 GB, free: 10.87 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/1.1, allocations: 37.64 kB / 1.381 GB, free: 10.82 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.101, allocations: 184.1 kB / 1.382 GB, free: 10.64 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/1.101, allocations: 51.28 kB / 1.382 GB, free: 10.59 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/1.101, allocations: 49.61 kB / 1.382 GB, free: 10.53 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.101, allocations: 334.8 kB / 1.382 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/1.101, allocations: 63.95 kB / 1.382 GB, free: 10.13 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/1.101, allocations: 125 kB / 1.382 GB, free: 9.992 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/1.101, allocations: 185 kB / 1.382 GB, free: 9.793 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.101, allocations: 4 kB / 1.382 GB, free: 9.789 MB / 1.107 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004198/1.102, allocations: 240.8 kB / 1.383 GB, free: 9.551 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.102, allocations: 10.03 kB / 1.383 GB, free: 9.543 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.102, allocations: 0 / 1.383 GB, free: 9.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.102, allocations: 7.938 kB / 1.383 GB, free: 9.535 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/1.102, allocations: 35.98 kB / 1.383 GB, free: 9.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.102, allocations: 7.984 kB / 1.383 GB, free: 9.492 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/1.102, allocations: 31.78 kB / 1.383 GB, free: 9.461 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/1.102, allocations: 11.98 kB / 1.383 GB, free: 9.449 MB / 1.107 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.0001289/1.102, allocations: 149.7 kB / 1.383 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/1.103, allocations: 35.77 kB / 1.383 GB, free: 9.258 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/1.103, allocations: 222.9 kB / 1.383 GB, free: 9.039 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.103, allocations: 4 kB / 1.383 GB, free: 9.035 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.103, allocations: 0 / 1.383 GB, free: 9.035 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.103, allocations: 4 kB / 1.383 GB, free: 9.031 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/1.104, allocations: 0.6874 MB / 1.384 GB, free: 8.266 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.104, allocations: 4 kB / 1.384 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/1.104, allocations: 35.91 kB / 1.384 GB, free: 8.227 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.104, allocations: 3.938 kB / 1.384 GB, free: 8.223 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/1.104, allocations: 4 kB / 1.384 GB, free: 8.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.104, allocations: 4 kB / 1.384 GB, free: 8.215 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.104, allocations: 4 kB / 1.384 GB, free: 8.211 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/1.105, allocations: 429.2 kB / 1.384 GB, free: 7.754 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.105, allocations: 128.6 kB / 1.384 GB, free: 7.609 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/1.105, allocations: 8 kB / 1.384 GB, free: 7.602 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/1.105, allocations: 7.984 kB / 1.384 GB, free: 7.594 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/1.105, allocations: 23.92 kB / 1.384 GB, free: 7.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/1.105, allocations: 4 kB / 1.384 GB, free: 7.566 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002142/1.106, allocations: 227 kB / 1.385 GB, free: 7.344 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 64 / 1.385 GB, free: 7.344 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003931/1.106, allocations: 87.91 kB / 1.385 GB, free: 7.258 MB / 1.107 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.0004146/1.106, allocations: 173.2 kB / 1.385 GB, free: 7.082 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004096/1.107, allocations: 167.9 kB / 1.385 GB, free: 6.918 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.107, allocations: 4 kB / 1.385 GB, free: 6.914 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/1.107, allocations: 87.83 kB / 1.385 GB, free: 6.828 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008158/1.108, allocations: 167.5 kB / 1.385 GB, free: 6.668 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/1.109, allocations: 0.588 MB / 1.386 GB, free: 6.035 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/1.109, allocations: 0.7873 MB / 1.387 GB, free: 5.223 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001755/1.109, allocations: 66.94 kB / 1.387 GB, free: 5.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/1.109, allocations: 23.44 kB / 1.387 GB, free: 5.137 MB / 1.107 GB Notification: Performance of SimCode: time 2.21e-07/1.109, allocations: 0 / 1.387 GB, free: 5.137 MB / 1.107 GB Notification: Performance of Templates: time 0.01034/1.12, allocations: 5.768 MB / 1.392 GB, free: 15.46 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches