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.00135/0.00135, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001349/0.001349, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.378/2.378, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8155, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1793/0.9948, allocations: 169.5 MB / 1.333 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009294/1.004, allocations: 7.321 MB / 1.34 GB, free: 2.406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005972/1.005, allocations: 11.94 kB / 1.34 GB, free: 2.395 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008408/1.006, allocations: 218.6 kB / 1.34 GB, free: 2.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/1.008, allocations: 0.5989 MB / 1.341 GB, free: 1.578 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/1.009, allocations: 434.9 kB / 1.341 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001482/1.011, allocations: 0.7012 MB / 1.342 GB, free: 464 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000668/1.011, allocations: 267.1 kB / 1.342 GB, free: 196 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/1.013, allocations: 390.5 kB / 1.342 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/1.013, allocations: 215.1 kB / 1.343 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/1.013, allocations: 20 kB / 1.343 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/1.015, allocations: 0.7054 MB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/1.015, allocations: 111.6 kB / 1.344 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/1.015, allocations: 155.2 kB / 1.344 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/1.016, allocations: 0.5744 MB / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.016, allocations: 4 kB / 1.344 GB, free: 14.03 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/1.016, allocations: 0 / 1.344 GB, free: 14.03 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.166e-05/1.016, allocations: 0 / 1.344 GB, free: 14.03 MB / 1.076 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.001075/1.017, allocations: 0.6446 MB / 1.345 GB, free: 13.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.017, allocations: 12.92 kB / 1.345 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/1.018, allocations: 63.52 kB / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/1.018, allocations: 326 kB / 1.345 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.018, allocations: 12.44 kB / 1.345 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/1.018, allocations: 24 kB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/1.019, allocations: 296.6 kB / 1.346 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.019, allocations: 3.938 kB / 1.346 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.019, allocations: 15.94 kB / 1.346 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/1.019, allocations: 8 kB / 1.346 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/1.019, allocations: 171.8 kB / 1.346 GB, free: 12.35 MB / 1.076 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.001725/1.021, allocations: 1.698 MB / 1.347 GB, free: 10.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/1.021, allocations: 98.42 kB / 1.347 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/1.021, allocations: 76.86 kB / 1.348 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/1.022, allocations: 190.1 kB / 1.348 GB, free: 10.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.022, allocations: 30.56 kB / 1.348 GB, free: 10.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/1.022, allocations: 4 kB / 1.348 GB, free: 10.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0007094/1.023, allocations: 221.2 kB / 1.348 GB, free: 9.859 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/1.023, allocations: 55.34 kB / 1.348 GB, free: 9.793 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/1.023, allocations: 320.5 kB / 1.348 GB, free: 9.473 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/1.023, allocations: 33.62 kB / 1.348 GB, free: 9.434 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/1.023, allocations: 199.8 kB / 1.349 GB, free: 9.234 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/1.023, allocations: 39.45 kB / 1.349 GB, free: 9.195 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/1.023, allocations: 53.61 kB / 1.349 GB, free: 9.137 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.023, allocations: 334.8 kB / 1.349 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/1.024, allocations: 64.81 kB / 1.349 GB, free: 8.734 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/1.024, allocations: 185.1 kB / 1.349 GB, free: 8.492 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/1.024, allocations: 233.4 kB / 1.349 GB, free: 8.215 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.024, allocations: 4 kB / 1.349 GB, free: 8.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004811/1.025, allocations: 256.9 kB / 1.35 GB, free: 7.953 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.025, allocations: 6.5 kB / 1.35 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.025, allocations: 4.406 kB / 1.35 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.025, allocations: 12 kB / 1.35 GB, free: 7.934 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/1.025, allocations: 43.91 kB / 1.35 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.025, allocations: 11.94 kB / 1.35 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/1.025, allocations: 35.67 kB / 1.35 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/1.025, allocations: 15.94 kB / 1.35 GB, free: 7.828 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000224/1.026, allocations: 168.1 kB / 1.35 GB, free: 7.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002258/1.026, allocations: 195.5 kB / 1.35 GB, free: 7.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003228/1.026, allocations: 233.5 kB / 1.35 GB, free: 7.133 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/1.026, allocations: 4 kB / 1.35 GB, free: 7.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004456/1.027, allocations: 244.9 kB / 1.351 GB, free: 6.883 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.027, allocations: 11.94 kB / 1.351 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/1.027, allocations: 4.406 kB / 1.351 GB, free: 6.867 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/1.027, allocations: 11.98 kB / 1.351 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/1.027, allocations: 47.92 kB / 1.351 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.027, allocations: 7.938 kB / 1.351 GB, free: 6.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/1.027, allocations: 35.89 kB / 1.351 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/1.027, allocations: 12 kB / 1.351 GB, free: 6.754 MB / 1.076 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.0001111/1.027, allocations: 198.4 kB / 1.351 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/1.027, allocations: 31.56 kB / 1.351 GB, free: 6.523 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/1.028, allocations: 168.4 kB / 1.351 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.028, allocations: 0 / 1.351 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.028, allocations: 4 kB / 1.351 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.028, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/1.029, allocations: 0.6053 MB / 1.352 GB, free: 5.664 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.029, allocations: 4 kB / 1.352 GB, free: 5.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.029, allocations: 27.92 kB / 1.352 GB, free: 5.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.029, allocations: 0 / 1.352 GB, free: 5.633 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/1.029, allocations: 8 kB / 1.352 GB, free: 5.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.029, allocations: 8.219 kB / 1.352 GB, free: 5.617 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.029, allocations: 3.938 kB / 1.352 GB, free: 5.613 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/1.029, allocations: 301.1 kB / 1.352 GB, free: 5.281 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.029, allocations: 112.7 kB / 1.352 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/1.029, allocations: 8 kB / 1.352 GB, free: 5.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.03, allocations: 7.984 kB / 1.352 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/1.03, allocations: 23.86 kB / 1.352 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.03, allocations: 8 kB / 1.352 GB, free: 5.105 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002231/1.03, allocations: 227 kB / 1.352 GB, free: 4.883 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/1.03, allocations: 0 / 1.352 GB, free: 4.883 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005932/1.03, allocations: 127.8 kB / 1.353 GB, free: 4.758 MB / 1.076 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.0003995/1.031, allocations: 171.6 kB / 1.353 GB, free: 4.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005766/1.031, allocations: 247.5 kB / 1.353 GB, free: 4.348 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.031, allocations: 1.562 kB / 1.353 GB, free: 4.348 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/1.032, allocations: 68.2 kB / 1.353 GB, free: 4.281 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/1.032, allocations: 125 kB / 1.353 GB, free: 4.164 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000921/1.033, allocations: 0.526 MB / 1.354 GB, free: 3.586 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.034, allocations: 0.7795 MB / 1.354 GB, free: 2.781 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/1.034, allocations: 23.44 kB / 1.354 GB, free: 2.758 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.034, allocations: 0 / 1.354 GB, free: 2.758 MB / 1.076 GB Notification: Performance of Templates: time 0.007653/1.041, allocations: 4.476 MB / 1.359 GB, free: 14.32 MB / 1.092 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches