Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001046/0.001046, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001023/0.001023, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437.1 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.39 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8638/1.201, allocations: 169.5 MB / 1.184 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009827/1.211, allocations: 7.319 MB / 1.191 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/1.212, allocations: 11.94 kB / 1.191 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/1.212, allocations: 205.3 kB / 1.192 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/1.214, allocations: 0.5782 MB / 1.192 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/1.216, allocations: 438.2 kB / 1.193 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001112/1.217, allocations: 0.7017 MB / 1.193 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/1.217, allocations: 279 kB / 1.194 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/1.218, allocations: 379.7 kB / 1.194 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/1.218, allocations: 213.7 kB / 1.194 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/1.218, allocations: 19.31 kB / 1.194 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/1.22, allocations: 0.7 MB / 1.195 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/1.22, allocations: 109.4 kB / 1.195 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/1.22, allocations: 155.2 kB / 1.195 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008033/1.221, allocations: 0.5722 MB / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.221, allocations: 0 / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.854e-06/1.221, allocations: 0 / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.221, allocations: 4.531 kB / 1.196 GB, free: 13.21 MB / 0.9044 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.0009539/1.222, allocations: 0.6434 MB / 1.196 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.222, allocations: 15.2 kB / 1.196 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/1.222, allocations: 63.58 kB / 1.196 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/1.223, allocations: 320.8 kB / 1.197 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/1.223, allocations: 14.47 kB / 1.197 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/1.223, allocations: 24.28 kB / 1.197 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/1.223, allocations: 300.7 kB / 1.197 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.223, allocations: 3.938 kB / 1.197 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/1.223, allocations: 15.38 kB / 1.197 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.223, allocations: 5.094 kB / 1.197 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/1.224, allocations: 185.2 kB / 1.197 GB, free: 11.95 MB / 0.9044 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.001669/1.225, allocations: 1.69 MB / 1.199 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/1.226, allocations: 96.56 kB / 1.199 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/1.226, allocations: 74.95 kB / 1.199 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/1.226, allocations: 186.7 kB / 1.199 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.226, allocations: 40.5 kB / 1.199 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/1.226, allocations: 0 / 1.199 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006708/1.227, allocations: 226.9 kB / 1.199 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.227, allocations: 56.72 kB / 1.199 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/1.227, allocations: 326 kB / 1.2 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.227, allocations: 27.2 kB / 1.2 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/1.227, allocations: 201.1 kB / 1.2 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/1.228, allocations: 41.08 kB / 1.2 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/1.228, allocations: 41.91 kB / 1.2 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.228, allocations: 341.6 kB / 1.2 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.228, allocations: 63.69 kB / 1.2 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/1.228, allocations: 188.9 kB / 1.201 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/1.229, allocations: 234.2 kB / 1.201 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.229, allocations: 2.344 kB / 1.201 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004453/1.229, allocations: 252.5 kB / 1.201 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.229, allocations: 12.53 kB / 1.201 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.229, allocations: 4.812 kB / 1.201 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.229, allocations: 4.938 kB / 1.201 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/1.229, allocations: 51.19 kB / 1.201 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.229, allocations: 8.781 kB / 1.201 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.229, allocations: 38.52 kB / 1.201 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.23, allocations: 10.44 kB / 1.201 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002246/1.23, allocations: 169.4 kB / 1.201 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002305/1.23, allocations: 199.3 kB / 1.202 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003345/1.23, allocations: 233.8 kB / 1.202 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/1.23, allocations: 0.7812 kB / 1.202 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004284/1.231, allocations: 245.1 kB / 1.202 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.231, allocations: 15.62 kB / 1.202 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/1.231, allocations: 6.344 kB / 1.202 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/1.231, allocations: 7.312 kB / 1.202 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/1.231, allocations: 47.19 kB / 1.202 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.231, allocations: 6.719 kB / 1.202 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.231, allocations: 38.88 kB / 1.202 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/1.231, allocations: 13.75 kB / 1.202 GB, free: 7.637 MB / 0.9044 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.0001158/1.231, allocations: 192.9 kB / 1.202 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/1.231, allocations: 32.59 kB / 1.202 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/1.232, allocations: 167.1 kB / 1.203 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.232, allocations: 1.844 kB / 1.203 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.232, allocations: 3.75 kB / 1.203 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.232, allocations: 0 / 1.203 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/1.233, allocations: 0.6088 MB / 1.203 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/1.233, allocations: 2.219 kB / 1.203 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/1.233, allocations: 25.98 kB / 1.203 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.233, allocations: 6.688 kB / 1.203 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.233, allocations: 8.562 kB / 1.203 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.233, allocations: 2.844 kB / 1.203 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.233, allocations: 0 / 1.203 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/1.233, allocations: 308.3 kB / 1.203 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.233, allocations: 108 kB / 1.204 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/1.234, allocations: 8.438 kB / 1.204 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.234, allocations: 9.047 kB / 1.204 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/1.234, allocations: 25.05 kB / 1.204 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/1.234, allocations: 5.844 kB / 1.204 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002138/1.234, allocations: 226.6 kB / 1.204 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.234, allocations: 0 / 1.204 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005747/1.235, allocations: 129.4 kB / 1.204 GB, free: 6.195 MB / 0.9044 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.000415/1.235, allocations: 175.5 kB / 1.204 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005514/1.236, allocations: 249.8 kB / 1.204 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.236, allocations: 0 / 1.204 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/1.236, allocations: 69.89 kB / 1.204 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/1.236, allocations: 119.6 kB / 1.205 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/1.237, allocations: 0.4913 MB / 1.205 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.238, allocations: 0.7787 MB / 1.206 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002298/1.238, allocations: 78.19 kB / 1.206 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/1.238, allocations: 29.23 kB / 1.206 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/1.238, allocations: 0 / 1.206 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of Templates: time 0.009598/1.248, allocations: 4.881 MB / 1.211 GB, free: 2.297 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches