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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001171/0.001171, allocations: 116.6 kB / 16.37 MB, free: 6 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.001181/0.001181, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.365/1.365, 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 9.1.2-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.55 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7798/1.057, allocations: 169.4 MB / 1.117 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008398/1.066, allocations: 7.317 MB / 1.124 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007455/1.066, allocations: 13.09 kB / 1.124 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007638/1.067, allocations: 216.6 kB / 1.124 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/1.069, allocations: 0.5783 MB / 1.125 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/1.07, allocations: 428.2 kB / 1.125 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001005/1.071, allocations: 0.7065 MB / 1.126 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/1.072, allocations: 270.8 kB / 1.126 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/1.072, allocations: 380.6 kB / 1.126 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/1.073, allocations: 215.3 kB / 1.126 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/1.073, allocations: 19 kB / 1.126 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/1.074, allocations: 0.6977 MB / 1.127 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/1.074, allocations: 113.1 kB / 1.127 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/1.075, allocations: 158.5 kB / 1.127 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009599/1.075, allocations: 0.5696 MB / 1.128 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.076, allocations: 0.6562 kB / 1.128 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/1.076, allocations: 1.281 kB / 1.128 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.076, allocations: 0 / 1.128 GB, free: 4.98 MB / 0.8575 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.001118/1.077, allocations: 0.6376 MB / 1.129 GB, free: 20.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.077, allocations: 12.25 kB / 1.129 GB, free: 20.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/1.077, allocations: 65.31 kB / 1.129 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/1.078, allocations: 320.1 kB / 1.129 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.078, allocations: 20.56 kB / 1.129 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/1.078, allocations: 23.69 kB / 1.129 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/1.078, allocations: 301.9 kB / 1.129 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.078, allocations: 1.5 kB / 1.129 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.078, allocations: 13.66 kB / 1.129 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.078, allocations: 6.312 kB / 1.129 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/1.079, allocations: 180.7 kB / 1.129 GB, free: 20.1 MB / 0.8731 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.001726/1.08, allocations: 1.696 MB / 1.131 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/1.081, allocations: 89.64 kB / 1.131 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/1.081, allocations: 79.25 kB / 1.131 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/1.081, allocations: 187.7 kB / 1.131 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/1.081, allocations: 37.02 kB / 1.132 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/1.081, allocations: 0 / 1.132 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0006494/1.082, allocations: 225.9 kB / 1.132 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.082, allocations: 52.53 kB / 1.132 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/1.082, allocations: 319.5 kB / 1.132 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.082, allocations: 30.02 kB / 1.132 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.082, allocations: 198.4 kB / 1.132 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/1.082, allocations: 38.41 kB / 1.132 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/1.082, allocations: 50.05 kB / 1.132 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.082, allocations: 345.4 kB / 1.133 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.083, allocations: 63.48 kB / 1.133 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/1.083, allocations: 190.9 kB / 1.133 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/1.083, allocations: 242.3 kB / 1.133 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.083, allocations: 1.125 kB / 1.133 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004995/1.084, allocations: 260.4 kB / 1.133 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.084, allocations: 6.938 kB / 1.133 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.084, allocations: 4.062 kB / 1.133 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.084, allocations: 5.469 kB / 1.133 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/1.084, allocations: 48.61 kB / 1.134 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.084, allocations: 6.766 kB / 1.134 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/1.084, allocations: 40.94 kB / 1.134 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/1.084, allocations: 14.22 kB / 1.134 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002512/1.085, allocations: 167.4 kB / 1.134 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001843/1.085, allocations: 192.5 kB / 1.134 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000277/1.085, allocations: 237 kB / 1.134 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/1.085, allocations: 1.031 kB / 1.134 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004116/1.085, allocations: 250.4 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/1.085, allocations: 9.719 kB / 1.134 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.085, allocations: 4.281 kB / 1.134 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/1.085, allocations: 5.672 kB / 1.134 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/1.086, allocations: 47.58 kB / 1.134 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.086, allocations: 7.562 kB / 1.134 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/1.086, allocations: 32.5 kB / 1.134 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/1.086, allocations: 14.91 kB / 1.134 GB, free: 16.98 MB / 0.8731 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.0001051/1.086, allocations: 194.2 kB / 1.135 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/1.086, allocations: 34.56 kB / 1.135 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/1.086, allocations: 169.2 kB / 1.135 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.086, allocations: 1.438 kB / 1.135 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.086, allocations: 5.344 kB / 1.135 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.086, allocations: 0.6562 kB / 1.135 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/1.087, allocations: 0.6135 MB / 1.135 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.087, allocations: 2.516 kB / 1.135 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.087, allocations: 27.88 kB / 1.136 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.087, allocations: 3.75 kB / 1.136 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.088, allocations: 5 kB / 1.136 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.088, allocations: 2.625 kB / 1.136 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.088, allocations: 2.469 kB / 1.136 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/1.088, allocations: 309.1 kB / 1.136 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/1.088, allocations: 111.4 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/1.088, allocations: 8.906 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/1.088, allocations: 8.859 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/1.088, allocations: 16.41 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/1.088, allocations: 4.906 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002112/1.089, allocations: 228.2 kB / 1.136 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.089, allocations: 9.141 kB / 1.136 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006018/1.089, allocations: 132.3 kB / 1.136 GB, free: 15.95 MB / 0.8731 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.0003548/1.089, allocations: 166.8 kB / 1.136 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005074/1.09, allocations: 251.9 kB / 1.137 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.09, allocations: 0 / 1.137 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.09, allocations: 62.64 kB / 1.137 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/1.091, allocations: 121.1 kB / 1.137 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/1.092, allocations: 0.4914 MB / 1.137 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/1.092, allocations: 0.7757 MB / 1.138 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000217/1.092, allocations: 91.06 kB / 1.138 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/1.092, allocations: 24.25 kB / 1.138 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.092, allocations: 0 / 1.138 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.008635/1.101, allocations: 4.878 MB / 1.143 GB, free: 14.49 MB / 0.8731 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches