Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001184/0.001184, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.07 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.284/2.284, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8686, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.209/1.078, allocations: 169.5 MB / 1.254 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009622/1.087, allocations: 7.309 MB / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006384/1.088, allocations: 11.88 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008455/1.089, allocations: 210.6 kB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/1.091, allocations: 0.5677 MB / 1.262 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/1.092, allocations: 434.5 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001278/1.093, allocations: 0.7128 MB / 1.263 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/1.094, allocations: 267.1 kB / 1.263 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000892/1.095, allocations: 378.5 kB / 1.264 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/1.095, allocations: 223 kB / 1.264 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/1.095, allocations: 16 kB / 1.264 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/1.097, allocations: 0.7055 MB / 1.265 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/1.097, allocations: 107.6 kB / 1.265 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/1.097, allocations: 159.2 kB / 1.265 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/1.098, allocations: 0.5667 MB / 1.265 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.098, allocations: 4 kB / 1.265 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.098, allocations: 0 / 1.265 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.098, allocations: 0 / 1.265 GB, free: 8.543 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001093/1.099, allocations: 0.6427 MB / 1.266 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.099, allocations: 8.031 kB / 1.266 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/1.1, allocations: 59.53 kB / 1.266 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/1.1, allocations: 330 kB / 1.266 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.1, allocations: 16.44 kB / 1.267 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/1.1, allocations: 24 kB / 1.267 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/1.101, allocations: 300.6 kB / 1.267 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.101, allocations: 4 kB / 1.267 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/1.101, allocations: 11.94 kB / 1.267 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.101, allocations: 8 kB / 1.267 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/1.101, allocations: 171.7 kB / 1.267 GB, free: 6.852 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.001848/1.103, allocations: 1.698 MB / 1.269 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/1.104, allocations: 90.61 kB / 1.269 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/1.104, allocations: 76.81 kB / 1.269 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/1.104, allocations: 186.1 kB / 1.269 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.104, allocations: 46.42 kB / 1.269 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.966e-06/1.104, allocations: 4 kB / 1.269 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.000707/1.105, allocations: 217.2 kB / 1.269 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.105, allocations: 51.41 kB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/1.105, allocations: 324.5 kB / 1.27 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/1.105, allocations: 25.7 kB / 1.27 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.105, allocations: 199.8 kB / 1.27 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/1.105, allocations: 43.44 kB / 1.27 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/1.105, allocations: 45.7 kB / 1.27 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.106, allocations: 342.8 kB / 1.27 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/1.106, allocations: 60.81 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/1.106, allocations: 194.5 kB / 1.27 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/1.106, allocations: 237.5 kB / 1.271 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.106, allocations: 0 / 1.271 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004688/1.107, allocations: 256.8 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.107, allocations: 11.94 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.107, allocations: 3.984 kB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.107, allocations: 8.406 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/1.107, allocations: 51.92 kB / 1.271 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.107, allocations: 7.984 kB / 1.271 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/1.107, allocations: 35.67 kB / 1.271 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/1.107, allocations: 12 kB / 1.271 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002275/1.108, allocations: 168.1 kB / 1.271 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002345/1.108, allocations: 195.9 kB / 1.271 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003401/1.108, allocations: 233.6 kB / 1.272 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/1.108, allocations: 4 kB / 1.272 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004437/1.109, allocations: 252.9 kB / 1.272 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.109, allocations: 7.938 kB / 1.272 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.109, allocations: 4 kB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/1.109, allocations: 4.406 kB / 1.272 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/1.109, allocations: 51.91 kB / 1.272 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.109, allocations: 4 kB / 1.272 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/1.109, allocations: 31.83 kB / 1.272 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/1.109, allocations: 12 kB / 1.272 GB, free: 1.262 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001096/1.109, allocations: 192.2 kB / 1.272 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/1.109, allocations: 35.55 kB / 1.272 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/1.11, allocations: 176.3 kB / 1.272 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.11, allocations: 4 kB / 1.272 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.11, allocations: 0 / 1.272 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.11, allocations: 0 / 1.272 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/1.111, allocations: 0.6054 MB / 1.273 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.111, allocations: 0 / 1.273 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.111, allocations: 27.92 kB / 1.273 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/1.111, allocations: 7.922 kB / 1.273 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.111, allocations: 8 kB / 1.273 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/1.111, allocations: 8.219 kB / 1.273 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.111, allocations: 7.938 kB / 1.273 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/1.111, allocations: 297.1 kB / 1.273 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.111, allocations: 116.7 kB / 1.273 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/1.111, allocations: 11.98 kB / 1.273 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/1.112, allocations: 8.172 kB / 1.273 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/1.112, allocations: 15.94 kB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/1.112, allocations: 11.98 kB / 1.273 GB, free: 15.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002148/1.112, allocations: 227 kB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 0 / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005664/1.113, allocations: 131.8 kB / 1.274 GB, free: 15.25 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0004172/1.113, allocations: 167.4 kB / 1.274 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005888/1.114, allocations: 247.7 kB / 1.274 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.114, allocations: 1.438 kB / 1.274 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/1.114, allocations: 60.33 kB / 1.274 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/1.114, allocations: 126.9 kB / 1.274 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/1.115, allocations: 0.5338 MB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/1.116, allocations: 0.7756 MB / 1.276 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/1.116, allocations: 31.42 kB / 1.276 GB, free: 13.24 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/1.116, allocations: 0 / 1.276 GB, free: 13.24 MB / 1.014 GB Notification: Performance of Templates: time 0.00781/1.124, allocations: 4.475 MB / 1.28 GB, free: 8.805 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches