Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_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_9_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.001726/0.001726, allocations: 106 kB / 16.41 MB, free: 5.984 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.001855/0.001855, allocations: 184.4 kB / 17.34 MB, free: 5.613 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.88 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8189/0.8204, allocations: 140.3 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2085/1.029, allocations: 167.4 MB / 1.252 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003091/1.032, allocations: 1.549 MB / 1.254 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/1.033, allocations: 11.94 kB / 1.254 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006036/1.033, allocations: 150.8 kB / 1.254 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002027/1.035, allocations: 0.7 MB / 1.254 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/1.037, allocations: 0.6064 MB / 1.255 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001057/1.038, allocations: 0.7051 MB / 1.256 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/1.039, allocations: 233.1 kB / 1.256 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008247/1.04, allocations: 330.8 kB / 1.256 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/1.04, allocations: 223 kB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/1.04, allocations: 24 kB / 1.256 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/1.042, allocations: 0.8651 MB / 1.257 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/1.042, allocations: 107.7 kB / 1.257 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/1.042, allocations: 167.1 kB / 1.258 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/1.044, allocations: 0.7227 MB / 1.258 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.044, allocations: 0 / 1.258 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.044, allocations: 0 / 1.258 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.32e-05/1.044, allocations: 0 / 1.258 GB, free: 15.93 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001154/1.045, allocations: 0.6504 MB / 1.259 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.045, allocations: 8.031 kB / 1.259 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.046, allocations: 155.4 kB / 1.259 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/1.047, allocations: 321.7 kB / 1.259 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/1.047, allocations: 16.44 kB / 1.259 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/1.047, allocations: 20 kB / 1.259 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/1.048, allocations: 283.4 kB / 1.26 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.048, allocations: 0 / 1.26 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/1.048, allocations: 8 kB / 1.26 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/1.048, allocations: 4 kB / 1.26 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/1.048, allocations: 207.8 kB / 1.26 GB, free: 14.16 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.001483/1.05, allocations: 1.201 MB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/1.05, allocations: 142.5 kB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.05, allocations: 84.81 kB / 1.261 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/1.051, allocations: 307.2 kB / 1.262 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.051, allocations: 38.44 kB / 1.262 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/1.051, allocations: 4 kB / 1.262 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008011/1.051, allocations: 283.5 kB / 1.262 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/1.052, allocations: 55.41 kB / 1.262 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/1.052, allocations: 312.5 kB / 1.262 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/1.052, allocations: 29.7 kB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/1.052, allocations: 184.1 kB / 1.262 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/1.052, allocations: 51.2 kB / 1.262 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/1.052, allocations: 45.7 kB / 1.263 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.052, allocations: 342.8 kB / 1.263 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.052, allocations: 59.95 kB / 1.263 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/1.053, allocations: 130.1 kB / 1.263 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/1.053, allocations: 188.5 kB / 1.263 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.053, allocations: 8 kB / 1.263 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004736/1.054, allocations: 237.1 kB / 1.263 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.054, allocations: 8.094 kB / 1.263 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.054, allocations: 4 kB / 1.263 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.054, allocations: 0 / 1.263 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/1.054, allocations: 51.84 kB / 1.264 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.054, allocations: 4 kB / 1.264 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/1.054, allocations: 27.69 kB / 1.264 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/1.054, allocations: 11.98 kB / 1.264 GB, free: 10.14 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 (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.0001553/1.054, allocations: 158.2 kB / 1.264 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/1.054, allocations: 31.62 kB / 1.264 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/1.055, allocations: 216.3 kB / 1.264 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.055, allocations: 4 kB / 1.264 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.055, allocations: 0 / 1.264 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.055, allocations: 0 / 1.264 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/1.056, allocations: 0.6757 MB / 1.265 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.056, allocations: 4 kB / 1.265 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/1.056, allocations: 39.91 kB / 1.265 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.056, allocations: 8.156 kB / 1.265 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.056, allocations: 8 kB / 1.265 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.056, allocations: 0 / 1.265 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.056, allocations: 7.938 kB / 1.265 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/1.057, allocations: 432 kB / 1.265 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.057, allocations: 120.7 kB / 1.265 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/1.057, allocations: 11.92 kB / 1.265 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/1.057, allocations: 12.14 kB / 1.265 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/1.057, allocations: 27.97 kB / 1.265 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.057, allocations: 4 kB / 1.265 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002118/1.057, allocations: 227 kB / 1.265 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.057, allocations: 0 / 1.265 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000399/1.058, allocations: 72 kB / 1.266 GB, free: 7.969 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 (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.0004198/1.058, allocations: 173.5 kB / 1.266 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004392/1.059, allocations: 171.8 kB / 1.266 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.059, allocations: 0 / 1.266 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.059, allocations: 84.52 kB / 1.266 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009196/1.06, allocations: 169 kB / 1.266 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/1.061, allocations: 0.6351 MB / 1.267 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/1.061, allocations: 0.7795 MB / 1.267 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/1.061, allocations: 27.44 kB / 1.268 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/1.061, allocations: 0 / 1.268 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.007847/1.069, allocations: 4.833 MB / 1.272 GB, free: 1.07 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches