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.001096/0.001096, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009021/0.009021, allocations: 169.4 kB / 16.26 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.945/2.945, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 12.38 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3756, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.19/0.5656, allocations: 165.1 MB / 1.22 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009363/0.575, allocations: 7.229 MB / 1.227 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.5754, allocations: 15.88 kB / 1.227 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.5761, allocations: 175 kB / 1.227 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.5777, allocations: 0.5525 MB / 1.228 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.5788, allocations: 374.6 kB / 1.228 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.5799, allocations: 1.029 MB / 1.229 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.5803, allocations: 218.3 kB / 1.229 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.581, allocations: 342.6 kB / 1.23 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.5814, allocations: 219 kB / 1.23 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.5814, allocations: 12 kB / 1.23 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.5827, allocations: 0.7794 MB / 1.231 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.5828, allocations: 95.64 kB / 1.231 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.583, allocations: 176.9 kB / 1.231 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008151/0.5838, allocations: 0.5802 MB / 1.231 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5839, allocations: 0 / 1.231 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5839, allocations: 0 / 1.231 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5839, allocations: 0 / 1.231 GB, free: 4.031 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.0008495/0.5847, allocations: 0.5881 MB / 1.232 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5848, allocations: 12.03 kB / 1.232 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.5851, allocations: 67.53 kB / 1.232 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.5856, allocations: 302.2 kB / 1.232 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5856, allocations: 16.44 kB / 1.232 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.5857, allocations: 27.98 kB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.5863, allocations: 308.5 kB / 1.233 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5863, allocations: 4 kB / 1.233 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.5863, allocations: 7.938 kB / 1.233 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5863, allocations: 8 kB / 1.233 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.5868, allocations: 191.5 kB / 1.233 GB, free: 2.391 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.002013/0.5888, allocations: 1.699 MB / 1.234 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.589, allocations: 94.55 kB / 1.235 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.5892, allocations: 84.81 kB / 1.235 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.5896, allocations: 194.1 kB / 1.235 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5896, allocations: 34.56 kB / 1.235 GB, free: 116 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.5896, allocations: 0 / 1.235 GB, free: 116 kB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007314/0.5903, allocations: 245.2 kB / 1.235 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.5904, allocations: 51.41 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.5907, allocations: 316.5 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.5907, allocations: 37.7 kB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5909, allocations: 191.8 kB / 1.236 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.5909, allocations: 47.47 kB / 1.236 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.591, allocations: 21.7 kB / 1.236 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5911, allocations: 342.8 kB / 1.236 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.5913, allocations: 55.95 kB / 1.236 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.5916, allocations: 204 kB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.5919, allocations: 253.4 kB / 1.237 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.592, allocations: 0 / 1.237 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005163/0.5925, allocations: 260.8 kB / 1.237 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.5926, allocations: 198.2 kB / 1.237 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5926, allocations: 7.828 kB / 1.237 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5926, allocations: 4 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.5928, allocations: 55.91 kB / 1.237 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5929, allocations: 8 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.5931, allocations: 35.73 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5932, allocations: 12 kB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.5932, allocations: 4 kB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004038/0.5936, allocations: 207.5 kB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.5936, allocations: 4 kB / 1.237 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.5936, allocations: 11.94 kB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.5938, allocations: 56.33 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5938, allocations: 7.984 kB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.594, allocations: 35.83 kB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.5941, allocations: 8 kB / 1.237 GB, free: 13.27 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.0001972/0.5943, allocations: 238.5 kB / 1.238 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.5943, allocations: 39.83 kB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.5948, allocations: 176.7 kB / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.5948, allocations: 7.984 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5948, allocations: 0 / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5948, allocations: 0 / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.5957, allocations: 0.6133 MB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5957, allocations: 4 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.5958, allocations: 31.91 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5958, allocations: 4 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.5959, allocations: 4 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5959, allocations: 4 kB / 1.239 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5959, allocations: 4.219 kB / 1.239 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.5963, allocations: 317 kB / 1.239 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5964, allocations: 116.7 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.5964, allocations: 4 kB / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.5966, allocations: 19.98 kB / 1.239 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.5967, allocations: 19.92 kB / 1.239 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.5967, allocations: 11.88 kB / 1.239 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002212/0.5969, allocations: 231 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.597, allocations: 0 / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005713/0.5975, allocations: 127.8 kB / 1.239 GB, free: 11.17 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.0004281/0.598, allocations: 169.8 kB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.5986, allocations: 252.3 kB / 1.24 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5986, allocations: 4 kB / 1.24 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5987, allocations: 73.75 kB / 1.24 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5998, allocations: 135.9 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.6006, allocations: 0.6086 MB / 1.241 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.601, allocations: 0.7798 MB / 1.241 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002855/0.6013, allocations: 78.89 kB / 1.241 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.6014, allocations: 27.44 kB / 1.241 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.6014, allocations: 0 / 1.241 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of Templates: time 0.009906/0.6113, allocations: 4.731 MB / 1.246 GB, free: 4.324 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