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.001276/0.001276, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001269/0.001269, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7135, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1764/0.8899, allocations: 169.5 MB / 1.254 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007773/0.8977, allocations: 7.307 MB / 1.261 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005248/0.8983, allocations: 11.94 kB / 1.261 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.899, allocations: 214.6 kB / 1.261 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.9005, allocations: 0.595 MB / 1.262 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.9017, allocations: 441.1 kB / 1.262 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008631/0.9026, allocations: 0.7167 MB / 1.263 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.9029, allocations: 263.1 kB / 1.263 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.9036, allocations: 394.5 kB / 1.264 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.9039, allocations: 211 kB / 1.264 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.9039, allocations: 20 kB / 1.264 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.905, allocations: 0.7132 MB / 1.265 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.9052, allocations: 103.7 kB / 1.265 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.9053, allocations: 155.2 kB / 1.265 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.9061, allocations: 0.5706 MB / 1.266 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9062, allocations: 0 / 1.266 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9062, allocations: 0 / 1.266 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.9062, allocations: 8 kB / 1.266 GB, free: 8.57 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.0009288/0.9071, allocations: 0.6387 MB / 1.266 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.9072, allocations: 8.031 kB / 1.266 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.9075, allocations: 67.52 kB / 1.266 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.908, allocations: 318.1 kB / 1.267 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.908, allocations: 16.44 kB / 1.267 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.9081, allocations: 24 kB / 1.267 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.9085, allocations: 300.6 kB / 1.267 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.9085, allocations: 3.938 kB / 1.267 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.9086, allocations: 11.94 kB / 1.267 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.9086, allocations: 8 kB / 1.267 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.9089, allocations: 175.8 kB / 1.267 GB, free: 6.883 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.001519/0.9105, allocations: 1.695 MB / 1.269 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.9107, allocations: 86.55 kB / 1.269 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.9109, allocations: 80.81 kB / 1.269 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.9112, allocations: 190.1 kB / 1.269 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.9112, allocations: 34.56 kB / 1.269 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.9113, allocations: 3.938 kB / 1.269 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006868/0.9119, allocations: 221.2 kB / 1.269 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.912, allocations: 51.41 kB / 1.269 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.9123, allocations: 324.4 kB / 1.27 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.9123, allocations: 33.7 kB / 1.27 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.9124, allocations: 191.8 kB / 1.27 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.9125, allocations: 43.45 kB / 1.27 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.9126, allocations: 45.7 kB / 1.27 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9127, allocations: 338.8 kB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.9128, allocations: 64.81 kB / 1.27 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.9131, allocations: 198.6 kB / 1.271 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.9134, allocations: 237.4 kB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9134, allocations: 4 kB / 1.271 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000445/0.9139, allocations: 253.2 kB / 1.271 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9139, allocations: 8.031 kB / 1.271 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9139, allocations: 4 kB / 1.271 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.9139, allocations: 4 kB / 1.271 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.9141, allocations: 47.92 kB / 1.271 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.9141, allocations: 19.86 kB / 1.271 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.9144, allocations: 31.67 kB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.9144, allocations: 20 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002121/0.9146, allocations: 168.1 kB / 1.271 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002146/0.9149, allocations: 195.9 kB / 1.271 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003201/0.9152, allocations: 233.6 kB / 1.272 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.9152, allocations: 0 / 1.272 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004267/0.9156, allocations: 249 kB / 1.272 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.9156, allocations: 12.34 kB / 1.272 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9157, allocations: 8 kB / 1.272 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.9157, allocations: 4 kB / 1.272 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.9158, allocations: 47.91 kB / 1.272 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9159, allocations: 7.938 kB / 1.272 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.9161, allocations: 27.83 kB / 1.272 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.9161, allocations: 16 kB / 1.272 GB, free: 1.293 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 9.796e-05/0.9162, allocations: 196.2 kB / 1.272 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.9163, allocations: 35.56 kB / 1.272 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.9166, allocations: 164.4 kB / 1.272 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9166, allocations: 0 / 1.272 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9167, allocations: 0 / 1.272 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.9168, allocations: 120.7 kB / 1.273 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.9168, allocations: 0 / 1.273 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.917, allocations: 7.984 kB / 1.273 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.917, allocations: 15.98 kB / 1.273 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003675/0.9174, allocations: 228.7 kB / 1.273 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003565/0.9178, allocations: 323.1 kB / 1.273 GB, free: 176 kB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001309/0.9179, allocations: 56 kB / 1.273 GB, free: 120 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002136/0.9181, allocations: 227 kB / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of Backend: time 3.41e-07/0.9181, allocations: 0 / 1.273 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.9193, allocations: 424.5 kB / 1.274 GB, free: 15.48 MB / 1.014 GB Notification: Performance of SimCode: time 0.001193/0.9205, allocations: 0.9989 MB / 1.275 GB, free: 14.43 MB / 1.014 GB Notification: Performance of Templates: time 0.01127/0.9318, allocations: 6.531 MB / 1.281 GB, free: 7.969 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