Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005699/0.005699, allocations: 101.2 kB / 15.73 MB, free: 6.422 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.001285/0.001285, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.00236, allocations: 68.88 kB / 0.9509 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3418, allocations: 140.4 MB / 1.088 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2056/0.5474, allocations: 169.4 MB / 1.253 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009514/0.5569, allocations: 7.321 MB / 1.261 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.5576, allocations: 15.94 kB / 1.261 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.8388/1.396, allocations: 207.2 kB / 1.261 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002782/1.399, allocations: 0.5726 MB / 1.261 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/1.401, allocations: 426.5 kB / 1.262 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001642/1.403, allocations: 0.7047 MB / 1.262 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/1.404, allocations: 267.3 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/1.405, allocations: 383.7 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/1.406, allocations: 212.6 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/1.406, allocations: 20.41 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/1.408, allocations: 0.7054 MB / 1.264 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.408, allocations: 107 kB / 1.264 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/1.408, allocations: 158.2 kB / 1.264 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/1.41, allocations: 0.5702 MB / 1.265 GB, free: 3.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.41, allocations: 1.281 kB / 1.265 GB, free: 3.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/1.41, allocations: 0 / 1.265 GB, free: 3.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.866e-06/1.41, allocations: 1.906 kB / 1.265 GB, free: 3.477 MB / 1.014 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.001295/1.411, allocations: 0.6409 MB / 1.265 GB, free: 2.992 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.411, allocations: 9.688 kB / 1.265 GB, free: 2.992 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/1.412, allocations: 63.39 kB / 1.265 GB, free: 2.977 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/1.413, allocations: 325.3 kB / 1.266 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/1.413, allocations: 17.28 kB / 1.266 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/1.413, allocations: 23.44 kB / 1.266 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/1.414, allocations: 300 kB / 1.266 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.414, allocations: 0.5625 kB / 1.266 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/1.414, allocations: 13.61 kB / 1.266 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/1.414, allocations: 7.734 kB / 1.266 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/1.414, allocations: 175.1 kB / 1.266 GB, free: 2.621 MB / 1.014 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.002439/1.417, allocations: 1.703 MB / 1.268 GB, free: 17.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/1.417, allocations: 89.3 kB / 1.268 GB, free: 17.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/1.418, allocations: 76.17 kB / 1.268 GB, free: 17.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004481/1.418, allocations: 188.5 kB / 1.268 GB, free: 17.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/1.418, allocations: 33.31 kB / 1.268 GB, free: 17.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 2.305e-06/1.418, allocations: 0 / 1.268 GB, free: 17.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001177/1.419, allocations: 228.1 kB / 1.269 GB, free: 17.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/1.419, allocations: 54.48 kB / 1.269 GB, free: 16.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/1.42, allocations: 325.4 kB / 1.269 GB, free: 16.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/1.42, allocations: 32.2 kB / 1.269 GB, free: 16.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/1.42, allocations: 196.4 kB / 1.269 GB, free: 16.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/1.42, allocations: 42.12 kB / 1.269 GB, free: 16.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.42, allocations: 48.62 kB / 1.269 GB, free: 16.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.421, allocations: 339.6 kB / 1.27 GB, free: 16.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.421, allocations: 58.81 kB / 1.27 GB, free: 16.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/1.421, allocations: 197.9 kB / 1.27 GB, free: 16.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/1.422, allocations: 230.9 kB / 1.27 GB, free: 16.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.422, allocations: 1.719 kB / 1.27 GB, free: 16.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008764/1.423, allocations: 255.6 kB / 1.27 GB, free: 16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.423, allocations: 10.44 kB / 1.27 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.423, allocations: 4.188 kB / 1.27 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/1.423, allocations: 5.188 kB / 1.27 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/1.423, allocations: 46.06 kB / 1.27 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.423, allocations: 14.23 kB / 1.27 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/1.424, allocations: 39.67 kB / 1.27 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/1.424, allocations: 15.64 kB / 1.27 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004446/1.424, allocations: 169.8 kB / 1.271 GB, free: 15.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003728/1.425, allocations: 195.1 kB / 1.271 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005888/1.425, allocations: 231.8 kB / 1.271 GB, free: 15.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.711e-06/1.425, allocations: 1.547 kB / 1.271 GB, free: 15.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008962/1.426, allocations: 248 kB / 1.271 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.426, allocations: 8.562 kB / 1.271 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.426, allocations: 6.156 kB / 1.271 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.426, allocations: 5 kB / 1.271 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/1.427, allocations: 53.75 kB / 1.271 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.427, allocations: 5.641 kB / 1.271 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/1.427, allocations: 34.61 kB / 1.271 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/1.427, allocations: 11.62 kB / 1.271 GB, free: 15.57 MB / 1.029 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.0002307/1.428, allocations: 197.2 kB / 1.271 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.428, allocations: 31.75 kB / 1.272 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/1.429, allocations: 170.4 kB / 1.272 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.429, allocations: 2.438 kB / 1.272 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.429, allocations: 3.938 kB / 1.272 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.429, allocations: 3.453 kB / 1.272 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/1.43, allocations: 0.6104 MB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.43, allocations: 1.406 kB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/1.431, allocations: 24.8 kB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.431, allocations: 2.781 kB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/1.431, allocations: 3.547 kB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.431, allocations: 3.703 kB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.431, allocations: 6.312 kB / 1.272 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/1.432, allocations: 306.1 kB / 1.273 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/1.432, allocations: 113 kB / 1.273 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/1.432, allocations: 8.484 kB / 1.273 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/1.432, allocations: 10.86 kB / 1.273 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/1.432, allocations: 14.3 kB / 1.273 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/1.432, allocations: 8.938 kB / 1.273 GB, free: 14.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004245/1.433, allocations: 229.5 kB / 1.273 GB, free: 14.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.903e-06/1.433, allocations: 0 / 1.273 GB, free: 14.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001256/1.434, allocations: 134.2 kB / 1.273 GB, free: 14.57 MB / 1.029 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.0006151/1.435, allocations: 170.6 kB / 1.273 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009796/1.436, allocations: 249.8 kB / 1.274 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.436, allocations: 1.531 kB / 1.274 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/1.436, allocations: 64.28 kB / 1.274 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.437, allocations: 128.6 kB / 1.274 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.438, allocations: 0.4934 MB / 1.274 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/1.439, allocations: 0.7757 MB / 1.275 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004491/1.439, allocations: 87.59 kB / 1.275 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/1.439, allocations: 26.2 kB / 1.275 GB, free: 13.46 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/1.439, allocations: 0.5312 kB / 1.275 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Templates: time 0.01385/1.453, allocations: 4.907 MB / 1.28 GB, free: 13.32 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches