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.009926/0.009927, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002163/0.002164, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.536/1.536, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.56 kB / 0.9509 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 140.4 MB / 1.088 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2045/0.505, allocations: 169.5 MB / 1.253 GB, free: 7.469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009473/0.5145, allocations: 7.313 MB / 1.261 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006513/0.5152, allocations: 11.94 kB / 1.261 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.8108/1.326, allocations: 208.4 kB / 1.261 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/1.328, allocations: 0.6001 MB / 1.261 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/1.329, allocations: 435 kB / 1.262 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001152/1.33, allocations: 0.71 MB / 1.262 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/1.331, allocations: 264.4 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/1.331, allocations: 384.9 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/1.332, allocations: 215.3 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/1.332, allocations: 18.69 kB / 1.263 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/1.333, allocations: 0.7099 MB / 1.264 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/1.333, allocations: 105.8 kB / 1.264 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/1.334, allocations: 158.3 kB / 1.264 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/1.335, allocations: 0.5755 MB / 1.265 GB, free: 3.469 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.335, allocations: 0.6562 kB / 1.265 GB, free: 3.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.335, allocations: 0.7812 kB / 1.265 GB, free: 3.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.418e-05/1.335, allocations: 0.8438 kB / 1.265 GB, free: 3.469 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.000923/1.336, allocations: 0.657 MB / 1.265 GB, free: 2.969 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.336, allocations: 9.125 kB / 1.265 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/1.336, allocations: 63.48 kB / 1.266 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/1.337, allocations: 327.9 kB / 1.266 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/1.337, allocations: 19.22 kB / 1.266 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/1.337, allocations: 22.72 kB / 1.266 GB, free: 2.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/1.337, allocations: 300.9 kB / 1.266 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.337, allocations: 2.625 kB / 1.266 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/1.337, allocations: 12.98 kB / 1.266 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.337, allocations: 6.906 kB / 1.266 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/1.338, allocations: 176.5 kB / 1.266 GB, free: 2.594 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.001611/1.339, allocations: 1.699 MB / 1.268 GB, free: 17.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/1.34, allocations: 92.94 kB / 1.268 GB, free: 17.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/1.34, allocations: 80.58 kB / 1.268 GB, free: 17.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/1.34, allocations: 183.5 kB / 1.268 GB, free: 17.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.34, allocations: 37.59 kB / 1.268 GB, free: 17.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/1.34, allocations: 0.8438 kB / 1.268 GB, free: 17.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007479/1.341, allocations: 227.4 kB / 1.269 GB, free: 17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.341, allocations: 54.05 kB / 1.269 GB, free: 16.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.341, allocations: 324.7 kB / 1.269 GB, free: 16.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.341, allocations: 35.44 kB / 1.269 GB, free: 16.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.342, allocations: 197.2 kB / 1.269 GB, free: 16.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/1.342, allocations: 42.44 kB / 1.269 GB, free: 16.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/1.342, allocations: 51.92 kB / 1.269 GB, free: 16.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.342, allocations: 339.9 kB / 1.27 GB, free: 16.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/1.342, allocations: 61.95 kB / 1.27 GB, free: 16.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.342, allocations: 195.6 kB / 1.27 GB, free: 16.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/1.343, allocations: 236.3 kB / 1.27 GB, free: 16.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.343, allocations: 1.469 kB / 1.27 GB, free: 16.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005052/1.343, allocations: 251.1 kB / 1.27 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.343, allocations: 9.344 kB / 1.27 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.343, allocations: 5.547 kB / 1.27 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.343, allocations: 4.562 kB / 1.27 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/1.344, allocations: 50.33 kB / 1.27 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.344, allocations: 13.5 kB / 1.27 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/1.344, allocations: 35.64 kB / 1.27 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/1.344, allocations: 11.53 kB / 1.27 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002824/1.344, allocations: 168.7 kB / 1.271 GB, free: 15.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002459/1.344, allocations: 193.3 kB / 1.271 GB, free: 15.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003503/1.345, allocations: 234.9 kB / 1.271 GB, free: 15.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/1.345, allocations: 1.688 kB / 1.271 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000518/1.345, allocations: 253.8 kB / 1.271 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.345, allocations: 7.688 kB / 1.271 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.345, allocations: 5.891 kB / 1.271 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/1.345, allocations: 5.672 kB / 1.271 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.346, allocations: 45.48 kB / 1.271 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.346, allocations: 6.016 kB / 1.271 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/1.346, allocations: 37.98 kB / 1.271 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/1.346, allocations: 13.75 kB / 1.271 GB, free: 15.53 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.0001223/1.346, allocations: 202.4 kB / 1.272 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/1.346, allocations: 29.25 kB / 1.272 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/1.347, allocations: 163.3 kB / 1.272 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.347, allocations: 2.281 kB / 1.272 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.347, allocations: 5.125 kB / 1.272 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.347, allocations: 2.234 kB / 1.272 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.348, allocations: 0.6149 MB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.348, allocations: 1.5 kB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.348, allocations: 27.91 kB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/1.348, allocations: 2.938 kB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/1.348, allocations: 4.016 kB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.348, allocations: 2.688 kB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.348, allocations: 5.797 kB / 1.272 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/1.348, allocations: 307.7 kB / 1.273 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.348, allocations: 109.6 kB / 1.273 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/1.348, allocations: 7.172 kB / 1.273 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/1.349, allocations: 11.39 kB / 1.273 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/1.349, allocations: 18.58 kB / 1.273 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.349, allocations: 8.719 kB / 1.273 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002802/1.349, allocations: 227.5 kB / 1.273 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.349, allocations: 1 kB / 1.273 GB, free: 14.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007007/1.35, allocations: 140.6 kB / 1.273 GB, free: 14.52 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.0004409/1.35, allocations: 166.6 kB / 1.273 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006985/1.351, allocations: 249.6 kB / 1.274 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.351, allocations: 1.406 kB / 1.274 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/1.351, allocations: 65.22 kB / 1.274 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/1.352, allocations: 127.1 kB / 1.274 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/1.353, allocations: 0.493 MB / 1.274 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/1.353, allocations: 0.7764 MB / 1.275 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003182/1.354, allocations: 84 kB / 1.275 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/1.354, allocations: 30.72 kB / 1.275 GB, free: 13.42 MB / 1.029 GB Notification: Performance of SimCode: time 1.443e-06/1.354, allocations: 0 / 1.275 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Templates: time 0.01287/1.367, allocations: 4.913 MB / 1.28 GB, free: 13.27 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