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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001577/0.001577, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001904/0.001904, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6992, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1899/0.8891, allocations: 167.2 MB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.9006, allocations: 7.346 MB / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.9016, allocations: 11.94 kB / 1.187 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009835/0.9026, allocations: 179 kB / 1.187 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.9043, allocations: 0.5369 MB / 1.188 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.9056, allocations: 382.1 kB / 1.188 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.9068, allocations: 1.025 MB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.9072, allocations: 218.4 kB / 1.189 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.9079, allocations: 342.6 kB / 1.19 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.9082, allocations: 235 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.9083, allocations: 12 kB / 1.19 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.9096, allocations: 0.7794 MB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.9098, allocations: 107.7 kB / 1.191 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.91, allocations: 151.2 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008126/0.9108, allocations: 0.5842 MB / 1.192 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9108, allocations: 0 / 1.192 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9108, allocations: 0 / 1.192 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.9108, allocations: 0 / 1.192 GB, free: 15.04 MB / 0.9512 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.00108/0.9119, allocations: 0.6406 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.912, allocations: 19.97 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.9124, allocations: 71.5 kB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.9128, allocations: 306.1 kB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.9128, allocations: 16.44 kB / 1.193 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.9129, allocations: 20 kB / 1.193 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.9134, allocations: 300.6 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.9134, allocations: 4 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.9134, allocations: 11.94 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.9135, allocations: 8 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.9138, allocations: 183.5 kB / 1.193 GB, free: 13.35 MB / 0.9512 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.001586/0.9155, allocations: 1.69 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.9157, allocations: 82.56 kB / 1.195 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.9159, allocations: 76.86 kB / 1.195 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.9162, allocations: 202 kB / 1.195 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.9162, allocations: 38.5 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.9162, allocations: 0 / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006888/0.9169, allocations: 221.2 kB / 1.195 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.917, allocations: 55.41 kB / 1.195 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.9173, allocations: 324.4 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.9174, allocations: 25.7 kB / 1.196 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.9176, allocations: 203.8 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.9176, allocations: 39.44 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.9177, allocations: 49.7 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9178, allocations: 342.8 kB / 1.196 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.918, allocations: 60.75 kB / 1.196 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.9183, allocations: 194.9 kB / 1.197 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.9187, allocations: 233.5 kB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.9187, allocations: 0 / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004835/0.9192, allocations: 260.8 kB / 1.197 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.9192, allocations: 8 kB / 1.197 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.9193, allocations: 4 kB / 1.197 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9193, allocations: 4 kB / 1.197 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.9195, allocations: 47.91 kB / 1.197 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.9195, allocations: 4 kB / 1.197 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.9198, allocations: 48.03 kB / 1.197 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.9198, allocations: 16 kB / 1.197 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000247/0.9201, allocations: 164.1 kB / 1.197 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002404/0.9203, allocations: 196.9 kB / 1.197 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003369/0.9207, allocations: 233.6 kB / 1.198 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.9207, allocations: 0 / 1.198 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004408/0.9211, allocations: 248.9 kB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.9211, allocations: 11.94 kB / 1.198 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.9211, allocations: 7.938 kB / 1.198 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/0.9211, allocations: 4 kB / 1.198 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.9213, allocations: 51.91 kB / 1.198 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.9213, allocations: 4.406 kB / 1.198 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.9216, allocations: 35.83 kB / 1.198 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.9216, allocations: 8 kB / 1.198 GB, free: 7.758 MB / 0.9512 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.0001306/0.9217, allocations: 200.2 kB / 1.198 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.9218, allocations: 31.56 kB / 1.198 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.9222, allocations: 172.3 kB / 1.198 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.9222, allocations: 4 kB / 1.198 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9222, allocations: 0 / 1.198 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9222, allocations: 0 / 1.198 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008872/0.9231, allocations: 0.6015 MB / 1.199 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9231, allocations: 0 / 1.199 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.9233, allocations: 35.91 kB / 1.199 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.9233, allocations: 4 kB / 1.199 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.9233, allocations: 4 kB / 1.199 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.9233, allocations: 4.156 kB / 1.199 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9233, allocations: 7.938 kB / 1.199 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.9237, allocations: 301.8 kB / 1.199 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.9238, allocations: 120.7 kB / 1.199 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.9238, allocations: 4 kB / 1.199 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.924, allocations: 11.98 kB / 1.199 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.9241, allocations: 15.92 kB / 1.199 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.9241, allocations: 12 kB / 1.2 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002136/0.9243, allocations: 227 kB / 1.2 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9243, allocations: 0 / 1.2 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000591/0.9249, allocations: 131.8 kB / 1.2 GB, free: 5.746 MB / 0.9512 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.0004427/0.9254, allocations: 174.8 kB / 1.2 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005858/0.926, allocations: 239.8 kB / 1.2 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.926, allocations: 0 / 1.2 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.9262, allocations: 69.64 kB / 1.2 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009303/0.9271, allocations: 136.1 kB / 1.2 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.928, allocations: 0.5924 MB / 1.201 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.9283, allocations: 0.7797 MB / 1.202 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002792/0.9286, allocations: 87.53 kB / 1.202 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.9287, allocations: 23.44 kB / 1.202 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of SimCode: time 1.552e-06/0.9287, allocations: 0 / 1.202 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.009303/0.938, allocations: 4.738 MB / 1.207 GB, free: 14.92 MB / 0.9669 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches