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.001006/0.001006, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007734/0.007734, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.541/2.541, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7756, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1949/0.9706, allocations: 165 MB / 1.116 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00913/0.9798, allocations: 7.251 MB / 1.123 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.9802, allocations: 7.938 kB / 1.123 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.9809, allocations: 175 kB / 1.123 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.9825, allocations: 0.5525 MB / 1.124 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.9837, allocations: 372.5 kB / 1.124 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.9849, allocations: 1.033 MB / 1.125 GB, free: 324 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.9852, allocations: 218.5 kB / 1.126 GB, free: 104 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007393/0.986, allocations: 338.6 kB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.9863, allocations: 219 kB / 1.126 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.9863, allocations: 8 kB / 1.126 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.9876, allocations: 0.7794 MB / 1.127 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.9878, allocations: 91.7 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.9879, allocations: 180.8 kB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000806/0.9888, allocations: 0.5802 MB / 1.128 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9888, allocations: 0 / 1.128 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9888, allocations: 4 kB / 1.128 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9888, allocations: 0 / 1.128 GB, free: 13.91 MB / 0.8887 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.0008983/0.9897, allocations: 0.5765 MB / 1.128 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.9898, allocations: 12.03 kB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.9901, allocations: 75.41 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.9905, allocations: 298.2 kB / 1.129 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.9905, allocations: 20.38 kB / 1.129 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.9906, allocations: 28 kB / 1.129 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.9911, allocations: 308.5 kB / 1.129 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.9911, allocations: 0 / 1.129 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.9912, allocations: 11.94 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9912, allocations: 4 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.9916, allocations: 191.7 kB / 1.129 GB, free: 12.27 MB / 0.8887 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.00163/0.9932, allocations: 1.709 MB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.9935, allocations: 86.56 kB / 1.131 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.9937, allocations: 92.8 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.9939, allocations: 190.1 kB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.994, allocations: 34.56 kB / 1.131 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.994, allocations: 0 / 1.131 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0007242/0.9947, allocations: 241.1 kB / 1.131 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.9948, allocations: 51.41 kB / 1.132 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.9951, allocations: 324.5 kB / 1.132 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.9951, allocations: 33.7 kB / 1.132 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.9953, allocations: 199.8 kB / 1.132 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.9953, allocations: 35.45 kB / 1.132 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.9954, allocations: 21.72 kB / 1.132 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9955, allocations: 342.8 kB / 1.132 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9957, allocations: 59.95 kB / 1.132 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.9959, allocations: 204.9 kB / 1.133 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.9963, allocations: 241.5 kB / 1.133 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9963, allocations: 0 / 1.133 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004946/0.9968, allocations: 272.8 kB / 1.133 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.997, allocations: 186.4 kB / 1.133 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.997, allocations: 4 kB / 1.133 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.997, allocations: 11.98 kB / 1.133 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.9972, allocations: 47.91 kB / 1.133 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.9972, allocations: 8 kB / 1.133 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.9975, allocations: 47.66 kB / 1.133 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.9975, allocations: 16 kB / 1.133 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.9976, allocations: 4 kB / 1.133 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000435/0.998, allocations: 207.5 kB / 1.134 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.998, allocations: 4 kB / 1.134 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.998, allocations: 8.344 kB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.9982, allocations: 55.91 kB / 1.134 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9982, allocations: 11.94 kB / 1.134 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.9985, allocations: 31.81 kB / 1.134 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.9985, allocations: 19.94 kB / 1.134 GB, free: 7.129 MB / 0.8887 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.0001666/0.9987, allocations: 229 kB / 1.134 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.9987, allocations: 35.56 kB / 1.134 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.9991, allocations: 176.4 kB / 1.134 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9992, allocations: 0 / 1.134 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9992, allocations: 0 / 1.134 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.9992, allocations: 0 / 1.134 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000923/1, allocations: 0.625 MB / 1.135 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1, allocations: 3.938 kB / 1.135 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/1, allocations: 27.92 kB / 1.135 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1, allocations: 4 kB / 1.135 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1, allocations: 8 kB / 1.135 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1, allocations: 0 / 1.135 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1, allocations: 4 kB / 1.135 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.001, allocations: 325.6 kB / 1.135 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/1.001, allocations: 112.7 kB / 1.135 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/1.001, allocations: 8 kB / 1.135 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/1.001, allocations: 23.92 kB / 1.135 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/1.001, allocations: 19.86 kB / 1.135 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/1.001, allocations: 4 kB / 1.135 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002153/1.001, allocations: 227 kB / 1.136 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/1.001, allocations: 0 / 1.136 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006016/1.002, allocations: 131.8 kB / 1.136 GB, free: 5.047 MB / 0.8887 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.0004109/1.002, allocations: 171.3 kB / 1.136 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006228/1.003, allocations: 260.5 kB / 1.136 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.003, allocations: 3.938 kB / 1.136 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/1.003, allocations: 64.97 kB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/1.004, allocations: 141.8 kB / 1.136 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/1.005, allocations: 0.6009 MB / 1.137 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.005, allocations: 0.7836 MB / 1.138 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003006/1.006, allocations: 83.55 kB / 1.138 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/1.006, allocations: 23.44 kB / 1.138 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/1.006, allocations: 0 / 1.138 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.009817/1.016, allocations: 4.734 MB / 1.142 GB, free: 14.2 MB / 0.9044 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