Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002139/0.002139, allocations: 195 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 65.19 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3706, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1919/0.5625, allocations: 167.2 MB / 1.215 GB, free: 1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009955/0.5725, allocations: 7.334 MB / 1.223 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.5731, allocations: 11.94 kB / 1.223 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.574, allocations: 183 kB / 1.223 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.5756, allocations: 0.5486 MB / 1.223 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.5769, allocations: 374.2 kB / 1.224 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.5785, allocations: 1.029 MB / 1.225 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006574/0.5791, allocations: 222.3 kB / 1.225 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5804, allocations: 350.5 kB / 1.225 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.581, allocations: 235 kB / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.5811, allocations: 16 kB / 1.225 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.5828, allocations: 0.7794 MB / 1.226 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.583, allocations: 103.6 kB / 1.226 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.5833, allocations: 147.2 kB / 1.226 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.5844, allocations: 0.5842 MB / 1.227 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5844, allocations: 0 / 1.227 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5844, allocations: 4 kB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5844, allocations: 0 / 1.227 GB, free: 5.09 MB / 0.9825 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.001153/0.5856, allocations: 0.6426 MB / 1.228 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.5856, allocations: 8.031 kB / 1.228 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.5861, allocations: 67.52 kB / 1.228 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.5867, allocations: 306.1 kB / 1.228 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.5867, allocations: 20.44 kB / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.5868, allocations: 24 kB / 1.228 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.5874, allocations: 296.6 kB / 1.228 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5874, allocations: 4 kB / 1.228 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.5875, allocations: 7.938 kB / 1.228 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.5875, allocations: 11.94 kB / 1.228 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.5879, allocations: 179.5 kB / 1.229 GB, free: 3.414 MB / 0.9825 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.001974/0.5899, allocations: 1.687 MB / 1.23 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.5902, allocations: 94.48 kB / 1.23 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.5904, allocations: 84.78 kB / 1.23 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.5907, allocations: 194.1 kB / 1.231 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.5907, allocations: 30.56 kB / 1.231 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.5907, allocations: 0 / 1.231 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007734/0.5915, allocations: 225.5 kB / 1.231 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.5916, allocations: 55.41 kB / 1.231 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.592, allocations: 320.4 kB / 1.231 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.592, allocations: 33.64 kB / 1.231 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5922, allocations: 191.9 kB / 1.231 GB, free: 312 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.5923, allocations: 47.38 kB / 1.231 GB, free: 264 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.5924, allocations: 45.7 kB / 1.231 GB, free: 212 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5926, allocations: 342.8 kB / 1.232 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.5928, allocations: 64.75 kB / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.593, allocations: 192.2 kB / 1.232 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.5934, allocations: 237.4 kB / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5934, allocations: 0 / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005115/0.594, allocations: 252.9 kB / 1.232 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.594, allocations: 8 kB / 1.232 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.594, allocations: 4 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.594, allocations: 7.938 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.5942, allocations: 51.91 kB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5943, allocations: 4 kB / 1.233 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.5946, allocations: 44.09 kB / 1.233 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.5946, allocations: 12 kB / 1.233 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002443/0.5949, allocations: 173.5 kB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/0.5951, allocations: 192.9 kB / 1.233 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003765/0.5955, allocations: 241.5 kB / 1.233 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.5955, allocations: 4 kB / 1.233 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004772/0.596, allocations: 245 kB / 1.233 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.596, allocations: 11.94 kB / 1.233 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.5961, allocations: 4 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.5961, allocations: 4 kB / 1.233 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.5963, allocations: 47.91 kB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5963, allocations: 8.406 kB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.5966, allocations: 35.83 kB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.5966, allocations: 19.98 kB / 1.234 GB, free: 13.8 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.0001474/0.5968, allocations: 192.1 kB / 1.234 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.5968, allocations: 35.56 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.5973, allocations: 176.3 kB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5973, allocations: 0 / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5973, allocations: 0 / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5973, allocations: 0 / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.5983, allocations: 0.6016 MB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5983, allocations: 0 / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5984, allocations: 27.92 kB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5984, allocations: 4 kB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5985, allocations: 4 kB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5985, allocations: 0 / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5985, allocations: 8.156 kB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.5989, allocations: 309 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.599, allocations: 116.7 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.5991, allocations: 4 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.5993, allocations: 15.98 kB / 1.235 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.5993, allocations: 19.92 kB / 1.235 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5993, allocations: 7.938 kB / 1.235 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002423/0.5996, allocations: 231 kB / 1.235 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5996, allocations: 0 / 1.235 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006196/0.6002, allocations: 127.8 kB / 1.235 GB, free: 11.8 MB / 0.9981 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.000447/0.6007, allocations: 163.1 kB / 1.235 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006133/0.6013, allocations: 243.5 kB / 1.236 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6013, allocations: 1.562 kB / 1.236 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.6015, allocations: 64.27 kB / 1.236 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.6025, allocations: 144.9 kB / 1.236 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.6034, allocations: 0.5924 MB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.6038, allocations: 0.7758 MB / 1.237 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.6041, allocations: 87.53 kB / 1.237 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.6042, allocations: 27.44 kB / 1.237 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.6042, allocations: 0 / 1.237 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of Templates: time 0.009761/0.614, allocations: 4.745 MB / 1.242 GB, free: 4.969 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches