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.001504/0.001504, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001637/0.001637, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 4.539 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.438/2.438, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6716, allocations: 140.4 MB / 0.9498 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1927/0.8644, allocations: 167.2 MB / 1.113 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009722/0.8742, allocations: 7.265 MB / 1.12 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.8748, allocations: 11.94 kB / 1.12 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.8756, allocations: 183 kB / 1.12 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.8774, allocations: 0.5369 MB / 1.121 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.8787, allocations: 396.7 kB / 1.121 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.8799, allocations: 0.7012 MB / 1.122 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/0.8804, allocations: 263 kB / 1.122 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/0.8813, allocations: 378.6 kB / 1.123 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.8817, allocations: 231 kB / 1.123 GB, free: 488 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.8818, allocations: 20 kB / 1.123 GB, free: 468 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.883, allocations: 0.717 MB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.8832, allocations: 107.7 kB / 1.124 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.8834, allocations: 151.2 kB / 1.124 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.8842, allocations: 423 kB / 1.124 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.8842, allocations: 0 / 1.124 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8842, allocations: 0 / 1.124 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8842, allocations: 0 / 1.124 GB, free: 15.07 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.001056/0.8853, allocations: 0.6504 MB / 1.125 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8853, allocations: 12.03 kB / 1.125 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.8857, allocations: 63.53 kB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.8862, allocations: 302.1 kB / 1.125 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.8862, allocations: 16.44 kB / 1.125 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.8862, allocations: 27.98 kB / 1.125 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.8868, allocations: 300.6 kB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8868, allocations: 0 / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.8868, allocations: 19.94 kB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.8868, allocations: 11.94 kB / 1.125 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.8872, allocations: 171.8 kB / 1.126 GB, free: 13.39 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.00176/0.889, allocations: 1.698 MB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.8893, allocations: 90.55 kB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.8894, allocations: 80.8 kB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.8897, allocations: 190.1 kB / 1.128 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.8898, allocations: 34.56 kB / 1.128 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 2.785e-06/0.8898, allocations: 4 kB / 1.128 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0007003/0.8905, allocations: 229 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.8905, allocations: 51.41 kB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.8909, allocations: 320.5 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.8909, allocations: 25.7 kB / 1.128 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.8911, allocations: 199.7 kB / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.8911, allocations: 39.55 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.8912, allocations: 49.61 kB / 1.129 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8913, allocations: 338.8 kB / 1.129 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.8915, allocations: 64.67 kB / 1.129 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.8917, allocations: 193.9 kB / 1.129 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.8921, allocations: 233.5 kB / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8921, allocations: 0 / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004864/0.8926, allocations: 260.9 kB / 1.13 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8927, allocations: 4 kB / 1.13 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8927, allocations: 4 kB / 1.13 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.8927, allocations: 8.406 kB / 1.13 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.8929, allocations: 51.92 kB / 1.13 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.8929, allocations: 11.92 kB / 1.13 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.8932, allocations: 35.77 kB / 1.13 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.8932, allocations: 12 kB / 1.13 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002268/0.8934, allocations: 168.1 kB / 1.13 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002318/0.8937, allocations: 186.3 kB / 1.13 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003428/0.894, allocations: 237.4 kB / 1.13 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.8941, allocations: 7.938 kB / 1.13 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004658/0.8945, allocations: 244.9 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8946, allocations: 11.94 kB / 1.131 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8946, allocations: 4.406 kB / 1.131 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.8946, allocations: 8 kB / 1.131 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8948, allocations: 47.91 kB / 1.131 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.8948, allocations: 7.938 kB / 1.131 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.895, allocations: 35.81 kB / 1.131 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.8951, allocations: 12 kB / 1.131 GB, free: 7.785 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.0001228/0.8952, allocations: 192.2 kB / 1.131 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.8953, allocations: 35.56 kB / 1.131 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.8957, allocations: 168.4 kB / 1.131 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8957, allocations: 4 kB / 1.131 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8957, allocations: 0 / 1.131 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8957, allocations: 4 kB / 1.131 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009437/0.8966, allocations: 0.6134 MB / 1.132 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8966, allocations: 3.938 kB / 1.132 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.8968, allocations: 24.03 kB / 1.132 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.8968, allocations: 12.2 kB / 1.132 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.8968, allocations: 4 kB / 1.132 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8968, allocations: 4 kB / 1.132 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8968, allocations: 7.875 kB / 1.132 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.8972, allocations: 301.1 kB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.8973, allocations: 108.8 kB / 1.132 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.8974, allocations: 8 kB / 1.132 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.8976, allocations: 19.89 kB / 1.132 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.8977, allocations: 19.86 kB / 1.132 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.8977, allocations: 4 kB / 1.132 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002252/0.8979, allocations: 227 kB / 1.132 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.8979, allocations: 0 / 1.132 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006087/0.8985, allocations: 135.8 kB / 1.132 GB, free: 5.773 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.0004283/0.899, allocations: 161.2 kB / 1.133 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.8996, allocations: 249 kB / 1.133 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8996, allocations: 4.062 kB / 1.133 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.8998, allocations: 63.84 kB / 1.133 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.9006, allocations: 132.9 kB / 1.133 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.9015, allocations: 0.6122 MB / 1.134 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.9019, allocations: 0.7717 MB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.902, allocations: 23.44 kB / 1.134 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.902, allocations: 0 / 1.134 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of Templates: time 0.00786/0.9098, allocations: 4.452 MB / 1.139 GB, free: 15.27 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/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