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.00168/0.00168, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002291/0.002291, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 65.69 kB / 0.8986 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3558, allocations: 157.4 MB / 1.052 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2255/0.5814, allocations: 167.2 MB / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.5985, allocations: 7.25 MB / 1.223 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.5994, allocations: 11.94 kB / 1.223 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.6006, allocations: 191 kB / 1.223 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.6034, allocations: 0.5369 MB / 1.223 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.6057, allocations: 384.7 kB / 1.224 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.6073, allocations: 0.7129 MB / 1.224 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.6079, allocations: 262.9 kB / 1.225 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.6091, allocations: 382.5 kB / 1.225 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.6096, allocations: 223.1 kB / 1.225 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.6097, allocations: 20 kB / 1.225 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.6119, allocations: 0.717 MB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.6121, allocations: 119.7 kB / 1.226 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.6124, allocations: 159.2 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.6136, allocations: 0.5842 MB / 1.227 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.6136, allocations: 0 / 1.227 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6136, allocations: 0 / 1.227 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.6137, allocations: 0 / 1.227 GB, free: 5.398 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.001408/0.6151, allocations: 0.6465 MB / 1.227 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6151, allocations: 16.62 kB / 1.227 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005612/0.6157, allocations: 63.53 kB / 1.228 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.6164, allocations: 306.1 kB / 1.228 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.6164, allocations: 16.44 kB / 1.228 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.6165, allocations: 24 kB / 1.228 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/0.6174, allocations: 300.6 kB / 1.228 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6174, allocations: 4 kB / 1.228 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.6174, allocations: 7.938 kB / 1.228 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.6175, allocations: 8 kB / 1.228 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007025/0.6182, allocations: 191.4 kB / 1.228 GB, free: 3.707 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.002898/0.6211, allocations: 1.69 MB / 1.23 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.6216, allocations: 86.56 kB / 1.23 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.6219, allocations: 76.86 kB / 1.23 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.6223, allocations: 202 kB / 1.23 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6224, allocations: 34.56 kB / 1.23 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.534e-06/0.6224, allocations: 0 / 1.23 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.00116/0.6236, allocations: 221.2 kB / 1.231 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6236, allocations: 55.41 kB / 1.231 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.6242, allocations: 324.4 kB / 1.231 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.6243, allocations: 29.7 kB / 1.231 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.6245, allocations: 191.9 kB / 1.231 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.6246, allocations: 43.39 kB / 1.231 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.6247, allocations: 45.7 kB / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6249, allocations: 342.8 kB / 1.232 GB, free: 164 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.6252, allocations: 60.81 kB / 1.232 GB, free: 100 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.6257, allocations: 193 kB / 1.232 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.6264, allocations: 237.5 kB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.6264, allocations: 0 / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008626/0.6273, allocations: 260.8 kB / 1.232 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.6273, allocations: 9.719 kB / 1.232 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6273, allocations: 4 kB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.6274, allocations: 4 kB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.6277, allocations: 51.91 kB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.6278, allocations: 4.078 kB / 1.232 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.6283, allocations: 40.11 kB / 1.232 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.6283, allocations: 19.97 kB / 1.232 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003766/0.6287, allocations: 168.1 kB / 1.233 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004149/0.6292, allocations: 201.3 kB / 1.233 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006516/0.6298, allocations: 229.5 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.6299, allocations: 0 / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008238/0.6307, allocations: 253.2 kB / 1.233 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6307, allocations: 11.94 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6308, allocations: 4 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.6308, allocations: 4.047 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.6311, allocations: 47.91 kB / 1.233 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.6311, allocations: 7.984 kB / 1.233 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.6316, allocations: 36.23 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.6317, allocations: 12 kB / 1.233 GB, free: 14.11 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.0001807/0.6319, allocations: 196.1 kB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.632, allocations: 31.56 kB / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/0.6326, allocations: 176.3 kB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.6326, allocations: 15.94 kB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6327, allocations: 0 / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6327, allocations: 0 / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.6342, allocations: 0.6016 MB / 1.234 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6343, allocations: 0 / 1.234 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.6345, allocations: 23.98 kB / 1.234 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.6345, allocations: 4 kB / 1.234 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.6345, allocations: 3.984 kB / 1.234 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6346, allocations: 7.938 kB / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.6346, allocations: 7.938 kB / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.6352, allocations: 305.8 kB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.6354, allocations: 116.7 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.6355, allocations: 7.984 kB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6358, allocations: 15.98 kB / 1.235 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.6359, allocations: 15.92 kB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.6359, allocations: 12 kB / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003389/0.6362, allocations: 223.1 kB / 1.235 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6363, allocations: 0 / 1.235 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009284/0.6372, allocations: 131.8 kB / 1.235 GB, free: 12.09 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.0005473/0.6378, allocations: 163.2 kB / 1.235 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009556/0.6387, allocations: 244.3 kB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6388, allocations: 0 / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.639, allocations: 65.73 kB / 1.236 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6403, allocations: 138.6 kB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6416, allocations: 0.5753 MB / 1.236 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.6421, allocations: 0.7755 MB / 1.237 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004961/0.6427, allocations: 86.89 kB / 1.237 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.6428, allocations: 23.44 kB / 1.237 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.6428, allocations: 0 / 1.237 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of Templates: time 0.01397/0.6568, allocations: 4.798 MB / 1.242 GB, free: 5.234 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