Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001617/0.001625, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.001577/0.001577, allocations: 194.6 kB / 16.91 MB, free: 6.188 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 62.95 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3359, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7329/1.069, allocations: 167.2 MB / 1.227 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009348/1.078, allocations: 7.249 MB / 1.234 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/1.079, allocations: 11.62 kB / 1.234 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007758/1.08, allocations: 180.8 kB / 1.235 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/1.081, allocations: 0.5375 MB / 1.235 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/1.083, allocations: 402.6 kB / 1.236 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001082/1.084, allocations: 0.7012 MB / 1.236 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/1.084, allocations: 263 kB / 1.237 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/1.085, allocations: 382.5 kB / 1.237 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/1.085, allocations: 227 kB / 1.237 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/1.085, allocations: 20 kB / 1.237 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/1.087, allocations: 0.7209 MB / 1.238 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/1.087, allocations: 103.7 kB / 1.238 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/1.087, allocations: 167.1 kB / 1.238 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006385/1.088, allocations: 411.1 kB / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.088, allocations: 0 / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.253e-06/1.088, allocations: 0 / 1.238 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/1.088, allocations: 0 / 1.238 GB, free: 6.711 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.0009364/1.089, allocations: 0.6394 MB / 1.239 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.089, allocations: 16.02 kB / 1.239 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/1.089, allocations: 63.53 kB / 1.239 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/1.09, allocations: 302.1 kB / 1.239 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.09, allocations: 12.44 kB / 1.239 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/1.09, allocations: 24 kB / 1.239 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/1.09, allocations: 304.5 kB / 1.24 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.09, allocations: 4 kB / 1.24 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/1.09, allocations: 15.94 kB / 1.24 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.09, allocations: 8 kB / 1.24 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/1.091, allocations: 187.4 kB / 1.24 GB, free: 5.035 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.001828/1.092, allocations: 1.695 MB / 1.242 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/1.093, allocations: 86.61 kB / 1.242 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/1.093, allocations: 76.81 kB / 1.242 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/1.093, allocations: 186.2 kB / 1.242 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/1.093, allocations: 42.48 kB / 1.242 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/1.093, allocations: 7.938 kB / 1.242 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006982/1.094, allocations: 217.2 kB / 1.242 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.094, allocations: 51.41 kB / 1.242 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/1.094, allocations: 324.5 kB / 1.243 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.094, allocations: 25.7 kB / 1.243 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/1.095, allocations: 203.8 kB / 1.243 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/1.095, allocations: 35.45 kB / 1.243 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/1.095, allocations: 49.7 kB / 1.243 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.095, allocations: 342.8 kB / 1.243 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/1.095, allocations: 56.81 kB / 1.243 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/1.095, allocations: 195.1 kB / 1.243 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/1.096, allocations: 233.5 kB / 1.244 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.096, allocations: 0 / 1.244 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005514/1.096, allocations: 264.8 kB / 1.244 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.096, allocations: 14.33 kB / 1.244 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.096, allocations: 416 / 1.244 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.096, allocations: 12 kB / 1.244 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.097, allocations: 43.92 kB / 1.244 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.097, allocations: 7.984 kB / 1.244 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/1.097, allocations: 39.67 kB / 1.244 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.097, allocations: 12 kB / 1.244 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002402/1.097, allocations: 174.1 kB / 1.244 GB, free: 360 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002628/1.097, allocations: 197 kB / 1.244 GB, free: 100 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003763/1.098, allocations: 233.5 kB / 1.245 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.098, allocations: 4 kB / 1.245 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004564/1.098, allocations: 244.9 kB / 1.245 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.098, allocations: 12.34 kB / 1.245 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.098, allocations: 8 kB / 1.245 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/1.098, allocations: 7.938 kB / 1.245 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/1.098, allocations: 51.91 kB / 1.245 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/1.099, allocations: 4 kB / 1.245 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/1.099, allocations: 35.81 kB / 1.245 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/1.099, allocations: 8 kB / 1.245 GB, free: 15.44 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.0001388/1.099, allocations: 200.2 kB / 1.245 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/1.099, allocations: 31.56 kB / 1.245 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/1.099, allocations: 165.8 kB / 1.245 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.099, allocations: 4 kB / 1.245 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.099, allocations: 288 / 1.245 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.099, allocations: 0 / 1.245 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/1.1, allocations: 0.6131 MB / 1.246 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.1, allocations: 0 / 1.246 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.101, allocations: 24.2 kB / 1.246 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/1.101, allocations: 9.875 kB / 1.246 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/1.101, allocations: 7.938 kB / 1.246 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.101, allocations: 7.938 kB / 1.246 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.101, allocations: 0 / 1.246 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/1.101, allocations: 305 kB / 1.246 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.101, allocations: 116.7 kB / 1.246 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/1.101, allocations: 4 kB / 1.246 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/1.101, allocations: 15.98 kB / 1.246 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/1.101, allocations: 19.86 kB / 1.246 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/1.101, allocations: 4 kB / 1.246 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002435/1.102, allocations: 227 kB / 1.247 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.102, allocations: 0 / 1.247 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005892/1.102, allocations: 127.8 kB / 1.247 GB, free: 13.45 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.000432/1.103, allocations: 175.5 kB / 1.247 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006113/1.103, allocations: 249 kB / 1.247 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.103, allocations: 4.062 kB / 1.247 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/1.104, allocations: 59.91 kB / 1.247 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/1.104, allocations: 129.2 kB / 1.247 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/1.105, allocations: 0.6241 MB / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/1.106, allocations: 0.7717 MB / 1.249 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/1.106, allocations: 23.44 kB / 1.249 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/1.106, allocations: 0 / 1.249 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of Templates: time 0.007856/1.114, allocations: 4.451 MB / 1.253 GB, free: 6.941 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches