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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001256/0.001256, allocations: 199 kB / 16.14 MB, free: 6.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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 69.19 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3856, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1988/0.5844, allocations: 167.2 MB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009532/0.594, allocations: 7.342 MB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.5951, allocations: 7.938 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5962, allocations: 175 kB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.5985, allocations: 0.5408 MB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.6005, allocations: 382.7 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.6019, allocations: 1.025 MB / 1.24 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.6024, allocations: 230.4 kB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/0.6032, allocations: 342.6 kB / 1.241 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.6036, allocations: 239 kB / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.6036, allocations: 15.94 kB / 1.241 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.6052, allocations: 0.7794 MB / 1.242 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.6053, allocations: 91.7 kB / 1.242 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.6055, allocations: 155.2 kB / 1.242 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.6064, allocations: 0.5842 MB / 1.242 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6064, allocations: 0 / 1.242 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6064, allocations: 0 / 1.242 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6064, allocations: 0 / 1.242 GB, free: 7.109 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.001074/0.6075, allocations: 0.6482 MB / 1.243 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6076, allocations: 8.031 kB / 1.243 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.608, allocations: 67.52 kB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.6084, allocations: 306.1 kB / 1.243 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.6084, allocations: 20.44 kB / 1.243 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.6085, allocations: 24 kB / 1.244 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.609, allocations: 300.6 kB / 1.244 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.609, allocations: 3.938 kB / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.6091, allocations: 15.92 kB / 1.244 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6091, allocations: 8 kB / 1.244 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.6095, allocations: 177.4 kB / 1.244 GB, free: 5.426 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.001714/0.6112, allocations: 1.69 MB / 1.246 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.6115, allocations: 90.5 kB / 1.246 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6116, allocations: 84.78 kB / 1.246 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.6119, allocations: 186.1 kB / 1.246 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.612, allocations: 34.56 kB / 1.246 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.612, allocations: 3.938 kB / 1.246 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007046/0.6127, allocations: 225.2 kB / 1.246 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.6128, allocations: 55.34 kB / 1.246 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.6131, allocations: 320.5 kB / 1.247 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.6131, allocations: 33.7 kB / 1.247 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.6133, allocations: 187.9 kB / 1.247 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.6133, allocations: 51.38 kB / 1.247 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.6134, allocations: 53.61 kB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6135, allocations: 334.8 kB / 1.247 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6137, allocations: 60.81 kB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.614, allocations: 191.6 kB / 1.247 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.6143, allocations: 241.4 kB / 1.248 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.6143, allocations: 4 kB / 1.248 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004677/0.6148, allocations: 252.9 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6148, allocations: 4 kB / 1.248 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6148, allocations: 4 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.6149, allocations: 8.391 kB / 1.248 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.6151, allocations: 47.92 kB / 1.248 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.6151, allocations: 7.938 kB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.6154, allocations: 43.72 kB / 1.248 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.6154, allocations: 12 kB / 1.248 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002532/0.6157, allocations: 173.7 kB / 1.248 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002469/0.6159, allocations: 193.1 kB / 1.248 GB, free: 496 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000358/0.6163, allocations: 237.4 kB / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.6163, allocations: 0 / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.6613/1.278, allocations: 247.9 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.278, allocations: 10.89 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.278, allocations: 5.625 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.278, allocations: 4.75 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.278, allocations: 48.81 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.278, allocations: 8.375 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/1.278, allocations: 29.03 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/1.278, allocations: 11.56 kB / 1.249 GB, free: 187.4 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.279, allocations: 196.9 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/1.279, allocations: 31.3 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/1.279, allocations: 175.8 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.279, allocations: 2.625 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.279, allocations: 0 / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.279, allocations: 1.797 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/1.28, allocations: 0.6107 MB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.28, allocations: 1.531 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/1.28, allocations: 31.64 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.28, allocations: 6.547 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.28, allocations: 2.844 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.28, allocations: 4.203 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.28, allocations: 2.031 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/1.281, allocations: 304.6 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/1.281, allocations: 115.3 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/1.281, allocations: 3.219 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/1.281, allocations: 21.77 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/1.281, allocations: 12.94 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.281, allocations: 10.5 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003501/1.282, allocations: 226.8 kB / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.282, allocations: 0 / 1.251 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006649/1.282, allocations: 134.8 kB / 1.251 GB, free: 186.4 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.0004096/1.283, allocations: 160.6 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006456/1.283, allocations: 247.6 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.283, allocations: 3.75 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.283, allocations: 67.22 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/1.285, allocations: 141.6 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/1.285, allocations: 0.5801 MB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.286, allocations: 0.775 MB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003126/1.286, allocations: 88.81 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/1.286, allocations: 24.42 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.286, allocations: 0 / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01138/1.298, allocations: 4.753 MB / 1.257 GB, free: 185 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