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.001503/0.001503, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002021/0.002021, allocations: 191 kB / 16.25 MB, free: 6.637 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.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.453/2.453, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 68.03 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7438, allocations: 140.4 MB / 0.9491 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2155/0.9593, allocations: 167.2 MB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.9729, allocations: 7.274 MB / 1.119 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.9737, allocations: 7.938 kB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.9747, allocations: 183 kB / 1.12 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.977, allocations: 0.5369 MB / 1.12 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.9789, allocations: 386.6 kB / 1.121 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.9802, allocations: 0.7051 MB / 1.121 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.9808, allocations: 267 kB / 1.121 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009581/0.9818, allocations: 378.6 kB / 1.122 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.9822, allocations: 235 kB / 1.122 GB, free: 468 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.9823, allocations: 16 kB / 1.122 GB, free: 452 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.984, allocations: 0.717 MB / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.9842, allocations: 107.7 kB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.9845, allocations: 151.2 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.9857, allocations: 0.6075 MB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9857, allocations: 4 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9857, allocations: 4 kB / 1.124 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.9857, allocations: 0 / 1.124 GB, free: 14.85 MB / 0.8887 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.001281/0.987, allocations: 0.6309 MB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.9871, allocations: 8.031 kB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.9876, allocations: 67.52 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.9882, allocations: 302.1 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.9883, allocations: 24.44 kB / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.9883, allocations: 20 kB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.9891, allocations: 304.5 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.9891, allocations: 0 / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.9892, allocations: 15.94 kB / 1.125 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.9892, allocations: 4 kB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.9898, allocations: 175.8 kB / 1.125 GB, free: 13.19 MB / 0.8887 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.002488/0.9923, allocations: 1.694 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.9927, allocations: 90.56 kB / 1.127 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.993, allocations: 80.83 kB / 1.127 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.9934, allocations: 190.1 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.9934, allocations: 34.56 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.9934, allocations: 0 / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.001062/0.9945, allocations: 229.1 kB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.9946, allocations: 55.41 kB / 1.127 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.9951, allocations: 316.5 kB / 1.128 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.9952, allocations: 33.7 kB / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.9954, allocations: 203.7 kB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.9954, allocations: 31.55 kB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.9956, allocations: 53.61 kB / 1.128 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.9958, allocations: 338.8 kB / 1.128 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.996, allocations: 64.61 kB / 1.128 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.9964, allocations: 203.9 kB / 1.129 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.997, allocations: 237.5 kB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.997, allocations: 0 / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007529/0.9978, allocations: 248.8 kB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.9979, allocations: 8.406 kB / 1.129 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.9979, allocations: 12 kB / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.9979, allocations: 4 kB / 1.129 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.9982, allocations: 47.91 kB / 1.129 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.9982, allocations: 7.938 kB / 1.129 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.9987, allocations: 39.75 kB / 1.129 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.9988, allocations: 16 kB / 1.129 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003682/0.9992, allocations: 168.1 kB / 1.129 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003808/0.9996, allocations: 195.6 kB / 1.13 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000547/1, allocations: 229.4 kB / 1.13 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/1, allocations: 4 kB / 1.13 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007284/1.001, allocations: 245.5 kB / 1.13 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.001, allocations: 17.97 kB / 1.13 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.001, allocations: 4 kB / 1.13 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/1.001, allocations: 4.047 kB / 1.13 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/1.001, allocations: 55.89 kB / 1.13 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.001, allocations: 7.938 kB / 1.13 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/1.002, allocations: 31.83 kB / 1.13 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/1.002, allocations: 15.98 kB / 1.13 GB, free: 7.578 MB / 0.8887 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.0001653/1.002, allocations: 196.2 kB / 1.13 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.002, allocations: 35.56 kB / 1.13 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005804/1.003, allocations: 160.4 kB / 1.131 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.003, allocations: 0 / 1.131 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.003, allocations: 0 / 1.131 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.003, allocations: 0 / 1.131 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.004, allocations: 0.617 MB / 1.131 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.004, allocations: 8.219 kB / 1.131 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.004, allocations: 23.98 kB / 1.131 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/1.004, allocations: 4 kB / 1.131 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/1.004, allocations: 4 kB / 1.131 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.004, allocations: 0 / 1.131 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/1.004, allocations: 11.88 kB / 1.131 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/1.005, allocations: 293.7 kB / 1.131 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/1.005, allocations: 112.8 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/1.005, allocations: 4 kB / 1.132 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/1.006, allocations: 23.83 kB / 1.132 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/1.006, allocations: 19.92 kB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/1.006, allocations: 11.94 kB / 1.132 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003627/1.006, allocations: 227 kB / 1.132 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/1.006, allocations: 0 / 1.132 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001057/1.007, allocations: 131.8 kB / 1.132 GB, free: 5.578 MB / 0.8887 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.0005888/1.008, allocations: 176.2 kB / 1.132 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009417/1.009, allocations: 241.6 kB / 1.132 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.009, allocations: 4 kB / 1.132 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/1.009, allocations: 63.92 kB / 1.132 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.01, allocations: 130 kB / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/1.012, allocations: 0.5754 MB / 1.133 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/1.012, allocations: 0.7834 MB / 1.134 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004796/1.013, allocations: 78.89 kB / 1.134 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/1.013, allocations: 27.44 kB / 1.134 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of SimCode: time 1.002e-06/1.013, allocations: 0 / 1.134 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of Templates: time 0.01523/1.028, allocations: 4.797 MB / 1.139 GB, free: 14.71 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches