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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008453/0.0008454, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009829/0.000983, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003403, allocations: 10.97 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1553/0.4457, allocations: 154 MB / 1.208 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.4531, allocations: 6.767 MB / 1.215 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.4535, allocations: 11.94 kB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.4541, allocations: 147 kB / 1.215 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.4552, allocations: 441.9 kB / 1.216 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.4562, allocations: 361.7 kB / 1.216 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009278/0.4571, allocations: 0.8571 MB / 1.217 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.4574, allocations: 200.6 kB / 1.217 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005913/0.4581, allocations: 310.7 kB / 1.217 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.4583, allocations: 215.1 kB / 1.217 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.4584, allocations: 15.94 kB / 1.217 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009553/0.4593, allocations: 0.5262 MB / 1.218 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4595, allocations: 91.69 kB / 1.218 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.4596, allocations: 85.52 kB / 1.218 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.46, allocations: 391.1 kB / 1.219 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4601, allocations: 0 / 1.219 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4601, allocations: 0 / 1.219 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4601, allocations: 0 / 1.219 GB, free: 0.5039 MB / 0.9669 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.0007981/0.4609, allocations: 0.5882 MB / 1.219 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4609, allocations: 8.031 kB / 1.219 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.4613, allocations: 67.53 kB / 1.219 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.4616, allocations: 298.2 kB / 1.219 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.4617, allocations: 16.44 kB / 1.219 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.4617, allocations: 20 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.4622, allocations: 308.6 kB / 1.22 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4622, allocations: 4 kB / 1.22 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4623, allocations: 8 kB / 1.22 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4623, allocations: 11.98 kB / 1.22 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.4627, allocations: 195.4 kB / 1.22 GB, free: 14.88 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.001541/0.4642, allocations: 1.698 MB / 1.222 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.4645, allocations: 86.56 kB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4646, allocations: 92.84 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.4649, allocations: 182.2 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4649, allocations: 46.5 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.465, allocations: 7.938 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0006797/0.4656, allocations: 237.2 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.4657, allocations: 51.41 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.466, allocations: 324.4 kB / 1.223 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.466, allocations: 29.7 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4662, allocations: 191.9 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.4662, allocations: 35.45 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.4662, allocations: 4 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4663, allocations: 338.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4665, allocations: 59.95 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.4667, allocations: 197.1 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.4669, allocations: 95.89 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4669, allocations: 0 / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004634/0.4674, allocations: 273.1 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4675, allocations: 189.9 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.4675, allocations: 7.953 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4676, allocations: 11.98 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.4677, allocations: 47.92 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4678, allocations: 8 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.468, allocations: 39.66 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4681, allocations: 16 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.4681, allocations: 8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000382/0.4685, allocations: 203.7 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4685, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.4685, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4687, allocations: 51.91 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4687, allocations: 8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.4689, allocations: 40.03 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.469, allocations: 12 kB / 1.224 GB, free: 9.988 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.4691, allocations: 236.9 kB / 1.225 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.4692, allocations: 27.62 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.4696, allocations: 184.3 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4696, allocations: 0 / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4696, allocations: 0 / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4696, allocations: 3.984 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008726/0.4705, allocations: 0.6094 MB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4705, allocations: 4 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.4706, allocations: 32.14 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4706, allocations: 4.328 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4707, allocations: 4 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4707, allocations: 7.953 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4707, allocations: 4 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.471, allocations: 309 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.4712, allocations: 124.7 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.4712, allocations: 8 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.4714, allocations: 15.98 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.4715, allocations: 19.88 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.4715, allocations: 8 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002186/0.4717, allocations: 231 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4717, allocations: 0 / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006009/0.4723, allocations: 131.8 kB / 1.226 GB, free: 7.902 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003689/0.4727, allocations: 165.7 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000588/0.4733, allocations: 257 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4733, allocations: 4.062 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.4735, allocations: 63.91 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.4744, allocations: 145.9 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.4752, allocations: 0.5792 MB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4755, allocations: 0.7719 MB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003219/0.4758, allocations: 90.88 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.4759, allocations: 23.44 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.4759, allocations: 0 / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.009542/0.4855, allocations: 4.593 MB / 1.233 GB, free: 1.23 MB / 0.9825 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