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.00113/0.00113, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 177 kB / 16.92 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.91/2.91, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 9.188 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3577, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1769/0.5346, allocations: 165 MB / 1.22 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008974/0.5437, allocations: 7.239 MB / 1.228 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.5442, allocations: 11.94 kB / 1.228 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007579/0.545, allocations: 175 kB / 1.228 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.5467, allocations: 0.5408 MB / 1.228 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.548, allocations: 382.3 kB / 1.229 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.5494, allocations: 1.025 MB / 1.23 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004902/0.5499, allocations: 218.3 kB / 1.23 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.5507, allocations: 342.6 kB / 1.23 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.5512, allocations: 223 kB / 1.23 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.5512, allocations: 8 kB / 1.23 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.5526, allocations: 0.7833 MB / 1.231 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.5528, allocations: 99.62 kB / 1.231 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.553, allocations: 176.9 kB / 1.231 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.5537, allocations: 399.1 kB / 1.232 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5537, allocations: 0 / 1.232 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5537, allocations: 0 / 1.232 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5538, allocations: 0 / 1.232 GB, free: 3.695 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.0009827/0.5547, allocations: 0.5881 MB / 1.232 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5548, allocations: 12.03 kB / 1.232 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.5552, allocations: 63.53 kB / 1.232 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.5557, allocations: 306.1 kB / 1.233 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.5557, allocations: 16.44 kB / 1.233 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.5557, allocations: 24 kB / 1.233 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.5563, allocations: 304.6 kB / 1.233 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5563, allocations: 4 kB / 1.233 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.5564, allocations: 7.938 kB / 1.233 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.5564, allocations: 12 kB / 1.233 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.5568, allocations: 187.5 kB / 1.233 GB, free: 2.062 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.00183/0.5587, allocations: 1.702 MB / 1.235 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.559, allocations: 94.55 kB / 1.235 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.5592, allocations: 92.8 kB / 1.235 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.5595, allocations: 186.1 kB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5595, allocations: 38.56 kB / 1.235 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.5595, allocations: 0 / 1.235 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007603/0.5603, allocations: 241.1 kB / 1.236 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5603, allocations: 59.41 kB / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.5607, allocations: 324.5 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.5607, allocations: 29.7 kB / 1.236 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.5609, allocations: 191.8 kB / 1.236 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.5609, allocations: 43.48 kB / 1.236 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.561, allocations: 17.72 kB / 1.236 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5611, allocations: 342.8 kB / 1.237 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5613, allocations: 59.97 kB / 1.237 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.5615, allocations: 204.6 kB / 1.237 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5619, allocations: 241.5 kB / 1.237 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5619, allocations: 0 / 1.237 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005173/0.5625, allocations: 272.8 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.5626, allocations: 187.4 kB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5626, allocations: 7.938 kB / 1.237 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5626, allocations: 4 kB / 1.237 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.5628, allocations: 55.91 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5629, allocations: 4 kB / 1.238 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.5632, allocations: 43.72 kB / 1.238 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.5632, allocations: 16 kB / 1.238 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.5632, allocations: 0 / 1.238 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004246/0.5636, allocations: 212.1 kB / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5637, allocations: 4.031 kB / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.5637, allocations: 11.94 kB / 1.238 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.5639, allocations: 51.91 kB / 1.238 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5639, allocations: 7.938 kB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.5642, allocations: 31.83 kB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.5642, allocations: 15.98 kB / 1.238 GB, free: 12.93 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.0001847/0.5644, allocations: 237 kB / 1.238 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.5645, allocations: 31.56 kB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000417/0.5649, allocations: 172.4 kB / 1.238 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5649, allocations: 7.938 kB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5649, allocations: 4 kB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5649, allocations: 0 / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.5659, allocations: 0.6249 MB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5659, allocations: 4 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5661, allocations: 27.92 kB / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.5661, allocations: 4 kB / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.5661, allocations: 12.22 kB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5661, allocations: 0 / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5661, allocations: 4 kB / 1.239 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.5665, allocations: 313.5 kB / 1.239 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5666, allocations: 112.7 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.5667, allocations: 8 kB / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5669, allocations: 15.98 kB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.567, allocations: 23.86 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.567, allocations: 4 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002364/0.5672, allocations: 231 kB / 1.24 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5672, allocations: 0 / 1.24 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006197/0.5679, allocations: 131.8 kB / 1.24 GB, free: 10.84 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.000438/0.5683, allocations: 167.4 kB / 1.24 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006421/0.569, allocations: 264.4 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.569, allocations: 0.875 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.5691, allocations: 68.28 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5702, allocations: 137.2 kB / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.5711, allocations: 0.6298 MB / 1.241 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.5715, allocations: 0.7758 MB / 1.242 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.5715, allocations: 27.44 kB / 1.242 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/0.5716, allocations: 0 / 1.242 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of Templates: time 0.008205/0.5798, allocations: 4.453 MB / 1.246 GB, free: 4.293 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches