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.007319/0.007318, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001469/0.001469, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 1.068/1.408, allocations: 169.4 MB / 1.373 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009091/1.418, allocations: 7.32 MB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/1.418, allocations: 11.31 kB / 1.38 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008279/1.419, allocations: 221.9 kB / 1.381 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/1.421, allocations: 0.5729 MB / 1.381 GB, free: 9.668 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/1.422, allocations: 424.8 kB / 1.382 GB, free: 9.367 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001331/1.424, allocations: 0.7061 MB / 1.382 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/1.424, allocations: 277.8 kB / 1.383 GB, free: 8.801 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009973/1.425, allocations: 379.5 kB / 1.383 GB, free: 8.578 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/1.426, allocations: 217.3 kB / 1.383 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/1.426, allocations: 18.72 kB / 1.383 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/1.427, allocations: 0.7063 MB / 1.384 GB, free: 8.051 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/1.428, allocations: 110 kB / 1.384 GB, free: 7.977 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/1.428, allocations: 155.3 kB / 1.384 GB, free: 7.883 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/1.429, allocations: 0.5672 MB / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.429, allocations: 1.344 kB / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/1.429, allocations: 0 / 1.385 GB, free: 7.535 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.373e-06/1.429, allocations: 0 / 1.385 GB, free: 7.535 MB / 1.076 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.0009935/1.43, allocations: 0.6465 MB / 1.385 GB, free: 6.953 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.43, allocations: 10.28 kB / 1.385 GB, free: 6.953 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/1.43, allocations: 63.97 kB / 1.385 GB, free: 6.922 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/1.431, allocations: 322.2 kB / 1.386 GB, free: 6.625 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/1.431, allocations: 22.41 kB / 1.386 GB, free: 6.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.431, allocations: 23.28 kB / 1.386 GB, free: 6.605 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/1.432, allocations: 301.1 kB / 1.386 GB, free: 6.371 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.432, allocations: 5.125 kB / 1.386 GB, free: 6.367 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/1.432, allocations: 10.69 kB / 1.386 GB, free: 6.359 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.432, allocations: 5.719 kB / 1.386 GB, free: 6.359 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/1.432, allocations: 173 kB / 1.386 GB, free: 6.281 MB / 1.076 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.001889/1.434, allocations: 1.697 MB / 1.388 GB, free: 4.672 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/1.434, allocations: 88.81 kB / 1.388 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.434, allocations: 90.78 kB / 1.388 GB, free: 4.566 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.435, allocations: 179.4 kB / 1.388 GB, free: 4.375 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.435, allocations: 40.72 kB / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/1.435, allocations: 0 / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00074/1.435, allocations: 222.4 kB / 1.388 GB, free: 4.211 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/1.436, allocations: 57.5 kB / 1.388 GB, free: 4.145 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/1.436, allocations: 317.4 kB / 1.389 GB, free: 3.941 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/1.436, allocations: 30.83 kB / 1.389 GB, free: 3.906 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/1.436, allocations: 198.3 kB / 1.389 GB, free: 3.727 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/1.436, allocations: 40.36 kB / 1.389 GB, free: 3.691 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/1.436, allocations: 61.7 kB / 1.389 GB, free: 3.645 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.436, allocations: 337.8 kB / 1.389 GB, free: 3.312 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.437, allocations: 58.22 kB / 1.389 GB, free: 3.281 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/1.437, allocations: 191 kB / 1.39 GB, free: 3.082 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/1.437, allocations: 238.7 kB / 1.39 GB, free: 2.871 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.437, allocations: 1.281 kB / 1.39 GB, free: 2.871 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00055/1.438, allocations: 249.6 kB / 1.39 GB, free: 2.734 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.438, allocations: 6.562 kB / 1.39 GB, free: 2.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.438, allocations: 3.438 kB / 1.39 GB, free: 2.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.438, allocations: 5.156 kB / 1.39 GB, free: 2.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.438, allocations: 51.19 kB / 1.39 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.438, allocations: 13.69 kB / 1.39 GB, free: 2.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/1.438, allocations: 37.97 kB / 1.39 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.438, allocations: 14.81 kB / 1.39 GB, free: 2.684 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002457/1.439, allocations: 169.1 kB / 1.39 GB, free: 2.559 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002992/1.439, allocations: 192.3 kB / 1.391 GB, free: 2.359 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003537/1.439, allocations: 237.2 kB / 1.391 GB, free: 2.148 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/1.439, allocations: 2.156 kB / 1.391 GB, free: 2.148 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004545/1.44, allocations: 251.8 kB / 1.391 GB, free: 2.008 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.44, allocations: 10.12 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.44, allocations: 3.312 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/1.44, allocations: 5.25 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/1.44, allocations: 47.75 kB / 1.391 GB, free: 1.992 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.44, allocations: 12.41 kB / 1.391 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/1.44, allocations: 25.73 kB / 1.391 GB, free: 1.973 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/1.44, allocations: 14.16 kB / 1.391 GB, free: 1.969 MB / 1.076 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.000139/1.44, allocations: 190 kB / 1.391 GB, free: 1.781 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/1.441, allocations: 33.94 kB / 1.391 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/1.441, allocations: 164.5 kB / 1.391 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.441, allocations: 9.141 kB / 1.392 GB, free: 1.648 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.441, allocations: 0.875 kB / 1.392 GB, free: 1.648 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/1.441, allocations: 1.219 kB / 1.392 GB, free: 1.648 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/1.442, allocations: 0.6116 MB / 1.392 GB, free: 1.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.442, allocations: 6.344 kB / 1.392 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/1.442, allocations: 23.73 kB / 1.392 GB, free: 1.098 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.442, allocations: 2.062 kB / 1.392 GB, free: 1.098 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.442, allocations: 5.656 kB / 1.392 GB, free: 1.098 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.442, allocations: 5.547 kB / 1.392 GB, free: 1.094 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.442, allocations: 3.031 kB / 1.392 GB, free: 1.094 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/1.443, allocations: 306.9 kB / 1.392 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.443, allocations: 113.6 kB / 1.393 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/1.443, allocations: 6.891 kB / 1.393 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.443, allocations: 14.12 kB / 1.393 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/1.443, allocations: 18.2 kB / 1.393 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/1.443, allocations: 3.906 kB / 1.393 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000298/1.443, allocations: 230.5 kB / 1.393 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.443, allocations: 0.9688 kB / 1.393 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006312/1.444, allocations: 133.4 kB / 1.393 GB, free: 0.5156 MB / 1.076 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.0004395/1.444, allocations: 164.2 kB / 1.393 GB, free: 412 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006031/1.445, allocations: 252.5 kB / 1.393 GB, free: 296 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.445, allocations: 1.188 kB / 1.393 GB, free: 296 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.445, allocations: 63.72 kB / 1.393 GB, free: 268 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/1.446, allocations: 127.3 kB / 1.394 GB, free: 204 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/1.447, allocations: 0.4895 MB / 1.394 GB, free: 15.83 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.447, allocations: 0.7688 MB / 1.395 GB, free: 15.09 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.447, allocations: 90.94 kB / 1.395 GB, free: 15.05 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/1.448, allocations: 24.97 kB / 1.395 GB, free: 15.04 MB / 1.092 GB Notification: Performance of SimCode: time 3.91e-07/1.448, allocations: 3.938 kB / 1.395 GB, free: 15.04 MB / 1.092 GB Notification: Performance of Templates: time 0.009944/1.458, allocations: 4.923 MB / 1.4 GB, free: 12.61 MB / 1.092 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