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.001149/0.001149, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001131/0.001131, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.08 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.254/2.254, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8765, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2191/1.096, allocations: 169.5 MB / 1.254 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009043/1.105, allocations: 7.302 MB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/1.106, allocations: 15.88 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000924/1.106, allocations: 210.6 kB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/1.108, allocations: 0.5988 MB / 1.262 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/1.11, allocations: 433.2 kB / 1.262 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00121/1.111, allocations: 0.7128 MB / 1.263 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/1.111, allocations: 267.1 kB / 1.263 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/1.112, allocations: 394.5 kB / 1.264 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/1.113, allocations: 211 kB / 1.264 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/1.113, allocations: 20 kB / 1.264 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/1.114, allocations: 0.7132 MB / 1.265 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/1.114, allocations: 107.7 kB / 1.265 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/1.115, allocations: 159.2 kB / 1.265 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/1.116, allocations: 0.5706 MB / 1.266 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.116, allocations: 0 / 1.266 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.116, allocations: 0 / 1.266 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.116, allocations: 0 / 1.266 GB, free: 8.508 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.001065/1.117, allocations: 0.6404 MB / 1.266 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.117, allocations: 11.97 kB / 1.266 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/1.117, allocations: 63.53 kB / 1.266 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/1.118, allocations: 330 kB / 1.267 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.118, allocations: 16.44 kB / 1.267 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/1.118, allocations: 24 kB / 1.267 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/1.118, allocations: 300.6 kB / 1.267 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.118, allocations: 4 kB / 1.267 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/1.118, allocations: 7.938 kB / 1.267 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/1.118, allocations: 8 kB / 1.267 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/1.119, allocations: 179.7 kB / 1.267 GB, free: 6.809 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.001709/1.121, allocations: 1.687 MB / 1.269 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/1.121, allocations: 90.47 kB / 1.269 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.121, allocations: 84.88 kB / 1.269 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/1.121, allocations: 182.1 kB / 1.269 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.121, allocations: 46.5 kB / 1.269 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.121, allocations: 0 / 1.269 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006743/1.122, allocations: 213.2 kB / 1.269 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.122, allocations: 55.41 kB / 1.269 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/1.122, allocations: 324.4 kB / 1.27 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/1.122, allocations: 29.7 kB / 1.27 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.123, allocations: 199.8 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/1.123, allocations: 35.45 kB / 1.27 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/1.123, allocations: 49.7 kB / 1.27 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.123, allocations: 342.8 kB / 1.27 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/1.123, allocations: 60.8 kB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/1.123, allocations: 196.9 kB / 1.271 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/1.124, allocations: 237.5 kB / 1.271 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.124, allocations: 4 kB / 1.271 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004839/1.124, allocations: 256.8 kB / 1.271 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.124, allocations: 8 kB / 1.271 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.124, allocations: 8.344 kB / 1.271 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.124, allocations: 8 kB / 1.271 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/1.124, allocations: 47.91 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.124, allocations: 4 kB / 1.271 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.125, allocations: 39.67 kB / 1.271 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/1.125, allocations: 15.98 kB / 1.271 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002247/1.125, allocations: 168.1 kB / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002268/1.125, allocations: 199 kB / 1.271 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003445/1.125, allocations: 229.5 kB / 1.272 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-06/1.125, allocations: 4 kB / 1.272 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004566/1.126, allocations: 253.3 kB / 1.272 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.126, allocations: 10.28 kB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.126, allocations: 8.344 kB / 1.272 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/1.126, allocations: 8 kB / 1.272 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.126, allocations: 43.92 kB / 1.272 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.126, allocations: 11.97 kB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/1.126, allocations: 31.83 kB / 1.272 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/1.126, allocations: 8 kB / 1.272 GB, free: 1.219 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.0001206/1.127, allocations: 196.2 kB / 1.272 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/1.127, allocations: 31.56 kB / 1.272 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/1.127, allocations: 172.3 kB / 1.272 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/1.127, allocations: 4 kB / 1.272 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.127, allocations: 0 / 1.272 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.127, allocations: 3.984 kB / 1.272 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/1.128, allocations: 0.6054 MB / 1.273 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.128, allocations: 0 / 1.273 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/1.128, allocations: 27.92 kB / 1.273 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.128, allocations: 4 kB / 1.273 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/1.128, allocations: 4.219 kB / 1.273 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.128, allocations: 8 kB / 1.273 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.128, allocations: 11.92 kB / 1.273 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/1.129, allocations: 297.1 kB / 1.273 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.129, allocations: 112.7 kB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/1.129, allocations: 7.938 kB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/1.129, allocations: 11.98 kB / 1.273 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/1.129, allocations: 19.92 kB / 1.274 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.129, allocations: 4 kB / 1.274 GB, free: 15.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002158/1.129, allocations: 227 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.129, allocations: 0 / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005833/1.13, allocations: 127.8 kB / 1.274 GB, free: 15.22 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.0004441/1.13, allocations: 173.7 kB / 1.274 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005959/1.131, allocations: 253.2 kB / 1.274 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.131, allocations: 4 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/1.131, allocations: 60.41 kB / 1.274 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/1.132, allocations: 126.3 kB / 1.274 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/1.133, allocations: 0.5377 MB / 1.275 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/1.133, allocations: 0.7717 MB / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/1.133, allocations: 23.44 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.133, allocations: 4 kB / 1.276 GB, free: 13.2 MB / 1.014 GB Notification: Performance of Templates: time 0.007837/1.141, allocations: 4.478 MB / 1.28 GB, free: 8.766 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