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.001348/0.001348, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001277/0.001277, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.98 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3108, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7829/1.094, allocations: 169.5 MB / 1.23 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008475/1.102, allocations: 7.318 MB / 1.237 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/1.103, allocations: 15.03 kB / 1.237 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007124/1.104, allocations: 209.4 kB / 1.237 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/1.105, allocations: 0.5649 MB / 1.238 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/1.106, allocations: 436.6 kB / 1.238 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009066/1.107, allocations: 0.7129 MB / 1.239 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/1.108, allocations: 267 kB / 1.239 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/1.108, allocations: 382.5 kB / 1.239 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/1.109, allocations: 215 kB / 1.24 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/1.109, allocations: 20 kB / 1.24 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/1.11, allocations: 0.7015 MB / 1.24 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/1.11, allocations: 111.7 kB / 1.24 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/1.11, allocations: 151.2 kB / 1.24 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.111, allocations: 0.5647 MB / 1.241 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.111, allocations: 4 kB / 1.241 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.803e-06/1.111, allocations: 0 / 1.241 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.386e-05/1.111, allocations: 0 / 1.241 GB, free: 4.004 MB / 0.9512 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.00108/1.113, allocations: 0.6355 MB / 1.242 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.113, allocations: 12.62 kB / 1.242 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/1.113, allocations: 67.52 kB / 1.242 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/1.113, allocations: 302.2 kB / 1.242 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.113, allocations: 20.44 kB / 1.242 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/1.113, allocations: 20 kB / 1.242 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/1.114, allocations: 312.5 kB / 1.242 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.114, allocations: 0 / 1.242 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.114, allocations: 11.94 kB / 1.242 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/1.114, allocations: 8 kB / 1.242 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/1.114, allocations: 175.5 kB / 1.243 GB, free: 2.336 MB / 0.9512 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.001634/1.116, allocations: 1.702 MB / 1.244 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/1.116, allocations: 90.56 kB / 1.244 GB, free: 428 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/1.116, allocations: 80.84 kB / 1.244 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/1.117, allocations: 186.2 kB / 1.245 GB, free: 120 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/1.117, allocations: 38.5 kB / 1.245 GB, free: 72 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/1.117, allocations: 0 / 1.245 GB, free: 72 kB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006755/1.117, allocations: 221.2 kB / 1.245 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/1.117, allocations: 59.39 kB / 1.245 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/1.118, allocations: 320.5 kB / 1.245 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/1.118, allocations: 33.7 kB / 1.245 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.118, allocations: 195.8 kB / 1.245 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/1.118, allocations: 35.45 kB / 1.245 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/1.118, allocations: 49.7 kB / 1.245 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.118, allocations: 338.8 kB / 1.246 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/1.118, allocations: 60.81 kB / 1.246 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/1.119, allocations: 199.1 kB / 1.246 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/1.119, allocations: 233.5 kB / 1.246 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.119, allocations: 0 / 1.246 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004639/1.12, allocations: 261.1 kB / 1.247 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.12, allocations: 8 kB / 1.247 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.12, allocations: 4 kB / 1.247 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.12, allocations: 4 kB / 1.247 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/1.12, allocations: 47.91 kB / 1.247 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.12, allocations: 7.938 kB / 1.247 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/1.12, allocations: 39.67 kB / 1.247 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/1.12, allocations: 19.98 kB / 1.247 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002358/1.12, allocations: 176 kB / 1.247 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002357/1.121, allocations: 189.1 kB / 1.247 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000349/1.121, allocations: 233.4 kB / 1.247 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.121, allocations: 0 / 1.247 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004301/1.121, allocations: 249.3 kB / 1.247 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.121, allocations: 15.88 kB / 1.247 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/1.121, allocations: 4 kB / 1.247 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/1.121, allocations: 4 kB / 1.247 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/1.122, allocations: 47.91 kB / 1.248 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.122, allocations: 7.938 kB / 1.248 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/1.122, allocations: 31.77 kB / 1.248 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/1.122, allocations: 12 kB / 1.248 GB, free: 12.74 MB / 0.9669 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.0001088/1.122, allocations: 196.3 kB / 1.248 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/1.122, allocations: 35.56 kB / 1.248 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/1.122, allocations: 161.8 kB / 1.248 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.122, allocations: 0 / 1.248 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.122, allocations: 7.969 kB / 1.248 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.122, allocations: 0 / 1.248 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/1.123, allocations: 0.6132 MB / 1.249 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.123, allocations: 4 kB / 1.249 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.123, allocations: 24.2 kB / 1.249 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.123, allocations: 4 kB / 1.249 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.123, allocations: 4 kB / 1.249 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.123, allocations: 3.984 kB / 1.249 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.124, allocations: 7.938 kB / 1.249 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/1.124, allocations: 305 kB / 1.249 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/1.124, allocations: 112.7 kB / 1.249 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/1.124, allocations: 4 kB / 1.249 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/1.124, allocations: 21.73 kB / 1.249 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.124, allocations: 15.86 kB / 1.249 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.124, allocations: 4 kB / 1.249 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002141/1.125, allocations: 227 kB / 1.249 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.125, allocations: 0 / 1.249 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005473/1.125, allocations: 131.8 kB / 1.249 GB, free: 10.74 MB / 0.9669 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.0004039/1.125, allocations: 169.9 kB / 1.25 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005611/1.126, allocations: 253 kB / 1.25 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.126, allocations: 4.062 kB / 1.25 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/1.126, allocations: 64.45 kB / 1.25 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/1.127, allocations: 135.1 kB / 1.25 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/1.128, allocations: 0.5305 MB / 1.25 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/1.128, allocations: 0.7717 MB / 1.251 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/1.128, allocations: 31.44 kB / 1.251 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/1.128, allocations: 0 / 1.251 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of Templates: time 0.006715/1.135, allocations: 4.439 MB / 1.256 GB, free: 4.324 MB / 0.9669 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