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.001392/0.001392, 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.001955/0.001955, allocations: 185.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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.645/2.645, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7424, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1928/0.9353, allocations: 167.2 MB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009478/0.9448, allocations: 7.264 MB / 1.187 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006713/0.9455, allocations: 11.94 kB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.9464, allocations: 187 kB / 1.187 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.9482, allocations: 0.5408 MB / 1.188 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.9496, allocations: 398.7 kB / 1.188 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.9508, allocations: 0.7012 MB / 1.189 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/0.9513, allocations: 255.1 kB / 1.189 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.9524, allocations: 386.5 kB / 1.19 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.9529, allocations: 223.1 kB / 1.19 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.953, allocations: 20 kB / 1.19 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.9543, allocations: 0.7209 MB / 1.19 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.9545, allocations: 107.7 kB / 1.191 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.9548, allocations: 155.2 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.9561, allocations: 0.5958 MB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9562, allocations: 0 / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9562, allocations: 0 / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.9562, allocations: 0 / 1.191 GB, free: 15.37 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.001269/0.9575, allocations: 0.6465 MB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9575, allocations: 12.03 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.958, allocations: 63.53 kB / 1.192 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.9585, allocations: 306.1 kB / 1.192 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.9585, allocations: 16.44 kB / 1.192 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.9585, allocations: 20 kB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.9591, allocations: 296.6 kB / 1.193 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.9591, allocations: 8 kB / 1.193 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.9592, allocations: 11.94 kB / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.9592, allocations: 8 kB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.9596, allocations: 183.4 kB / 1.193 GB, free: 13.68 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.001737/0.9613, allocations: 1.686 MB / 1.194 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.9616, allocations: 90.56 kB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.9618, allocations: 76.84 kB / 1.195 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.9621, allocations: 194.1 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.9621, allocations: 42.44 kB / 1.195 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.865e-06/0.9621, allocations: 4 kB / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0007566/0.9629, allocations: 225.1 kB / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.963, allocations: 55.41 kB / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.9633, allocations: 320.5 kB / 1.195 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.9634, allocations: 25.7 kB / 1.195 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.9635, allocations: 203.8 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.9636, allocations: 35.45 kB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.9637, allocations: 49.7 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9638, allocations: 342.8 kB / 1.196 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.964, allocations: 52.83 kB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.9642, allocations: 199.1 kB / 1.196 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.9646, allocations: 237.5 kB / 1.197 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.9646, allocations: 4 kB / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005015/0.9651, allocations: 260.8 kB / 1.197 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.9652, allocations: 14.28 kB / 1.197 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9652, allocations: 4.406 kB / 1.197 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.9652, allocations: 8 kB / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.9654, allocations: 47.91 kB / 1.197 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9654, allocations: 4 kB / 1.197 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.9657, allocations: 39.67 kB / 1.197 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.9657, allocations: 16 kB / 1.197 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002219/0.966, allocations: 164.1 kB / 1.197 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002337/0.9662, allocations: 202.5 kB / 1.197 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003281/0.9666, allocations: 233.6 kB / 1.197 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.9666, allocations: 4 kB / 1.197 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004461/0.967, allocations: 241.1 kB / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.967, allocations: 12.34 kB / 1.198 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9671, allocations: 8 kB / 1.198 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.9671, allocations: 7.984 kB / 1.198 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.9672, allocations: 47.92 kB / 1.198 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9673, allocations: 7.984 kB / 1.198 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.9675, allocations: 35.81 kB / 1.198 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.9676, allocations: 8 kB / 1.198 GB, free: 8.078 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.0001242/0.9677, allocations: 200.2 kB / 1.198 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.9678, allocations: 31.56 kB / 1.198 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.9681, allocations: 168.3 kB / 1.198 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.9681, allocations: 4 kB / 1.198 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9682, allocations: 0 / 1.198 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9682, allocations: 3.984 kB / 1.198 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00093/0.9691, allocations: 0.6054 MB / 1.199 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9691, allocations: 0 / 1.199 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.9692, allocations: 36.14 kB / 1.199 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.9693, allocations: 7.938 kB / 1.199 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.9693, allocations: 0 / 1.199 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.9693, allocations: 4 kB / 1.199 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9693, allocations: 7.938 kB / 1.199 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.9697, allocations: 297 kB / 1.199 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.9698, allocations: 116.8 kB / 1.199 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.9699, allocations: 4 kB / 1.199 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.9701, allocations: 23.89 kB / 1.199 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.9701, allocations: 19.92 kB / 1.199 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.9701, allocations: 4 kB / 1.199 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002144/0.9704, allocations: 227 kB / 1.2 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9704, allocations: 0 / 1.2 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006008/0.971, allocations: 127.8 kB / 1.2 GB, free: 6.066 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.0004196/0.9714, allocations: 168.9 kB / 1.2 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006107/0.972, allocations: 249 kB / 1.2 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.972, allocations: 4.062 kB / 1.2 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.9722, allocations: 59.91 kB / 1.2 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.9731, allocations: 133.5 kB / 1.2 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.9741, allocations: 0.5869 MB / 1.201 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.9744, allocations: 0.7794 MB / 1.202 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003067/0.9747, allocations: 87.53 kB / 1.202 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.9748, allocations: 23.44 kB / 1.202 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.9748, allocations: 4 kB / 1.202 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of Templates: time 0.01018/0.985, allocations: 4.805 MB / 1.206 GB, free: 15.2 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