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.004674/0.004674, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001042/0.001042, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.744/2.744, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3279, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8843/1.212, allocations: 169.5 MB / 1.332 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009268/1.222, allocations: 7.329 MB / 1.339 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/1.222, allocations: 11.75 kB / 1.339 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007762/1.223, allocations: 216.7 kB / 1.339 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/1.225, allocations: 0.5959 MB / 1.34 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/1.226, allocations: 436.3 kB / 1.34 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001228/1.228, allocations: 0.6987 MB / 1.341 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/1.228, allocations: 270 kB / 1.341 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/1.229, allocations: 386.2 kB / 1.342 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/1.229, allocations: 214 kB / 1.342 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/1.229, allocations: 19.12 kB / 1.342 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/1.231, allocations: 0.7075 MB / 1.343 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/1.231, allocations: 107 kB / 1.343 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/1.231, allocations: 158.7 kB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/1.232, allocations: 0.5834 MB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.232, allocations: 0 / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/1.232, allocations: 1.219 kB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.232, allocations: 0 / 1.344 GB, free: 10.75 MB / 1.029 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.001049/1.234, allocations: 0.6543 MB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.234, allocations: 9.5 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/1.234, allocations: 69.17 kB / 1.344 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/1.234, allocations: 319.6 kB / 1.345 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.235, allocations: 17.31 kB / 1.345 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/1.235, allocations: 23.03 kB / 1.345 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/1.235, allocations: 303.5 kB / 1.345 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.235, allocations: 1.094 kB / 1.345 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/1.235, allocations: 18.47 kB / 1.345 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.235, allocations: 5.781 kB / 1.345 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/1.236, allocations: 174.4 kB / 1.345 GB, free: 9.629 MB / 1.029 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.001837/1.237, allocations: 1.698 MB / 1.347 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/1.238, allocations: 89.27 kB / 1.347 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/1.238, allocations: 85 kB / 1.347 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/1.238, allocations: 190.2 kB / 1.347 GB, free: 7.887 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.238, allocations: 35.97 kB / 1.347 GB, free: 7.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/1.238, allocations: 0 / 1.347 GB, free: 7.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007713/1.239, allocations: 226.7 kB / 1.347 GB, free: 7.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.239, allocations: 52.97 kB / 1.347 GB, free: 7.691 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/1.24, allocations: 326.3 kB / 1.348 GB, free: 7.516 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/1.24, allocations: 28.17 kB / 1.348 GB, free: 7.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/1.24, allocations: 196 kB / 1.348 GB, free: 7.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/1.24, allocations: 49.05 kB / 1.348 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/1.24, allocations: 47.12 kB / 1.348 GB, free: 7.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.24, allocations: 339 kB / 1.348 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.24, allocations: 62.17 kB / 1.348 GB, free: 6.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/1.241, allocations: 193.5 kB / 1.349 GB, free: 6.719 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/1.241, allocations: 232 kB / 1.349 GB, free: 6.535 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.241, allocations: 1.125 kB / 1.349 GB, free: 6.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005644/1.242, allocations: 261.1 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.242, allocations: 7.906 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.242, allocations: 3.188 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.242, allocations: 4.922 kB / 1.349 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/1.242, allocations: 46.36 kB / 1.349 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.242, allocations: 8.281 kB / 1.349 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/1.242, allocations: 40.06 kB / 1.349 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/1.242, allocations: 19.47 kB / 1.349 GB, free: 6.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002564/1.242, allocations: 169.5 kB / 1.349 GB, free: 6.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002745/1.243, allocations: 189.6 kB / 1.349 GB, free: 6.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004011/1.243, allocations: 230 kB / 1.35 GB, free: 5.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/1.243, allocations: 1 kB / 1.35 GB, free: 5.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005244/1.244, allocations: 251.9 kB / 1.35 GB, free: 5.801 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.244, allocations: 11.31 kB / 1.35 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.244, allocations: 3.125 kB / 1.35 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/1.244, allocations: 9.125 kB / 1.35 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.244, allocations: 50.34 kB / 1.35 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.244, allocations: 8.156 kB / 1.35 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/1.244, allocations: 32.7 kB / 1.35 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/1.244, allocations: 16.28 kB / 1.35 GB, free: 5.766 MB / 1.029 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.0001252/1.244, allocations: 199.1 kB / 1.35 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/1.244, allocations: 33.25 kB / 1.35 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/1.245, allocations: 168.1 kB / 1.35 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1.245, allocations: 1.188 kB / 1.35 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.245, allocations: 0 / 1.35 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.245, allocations: 1.125 kB / 1.35 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/1.246, allocations: 0.6142 MB / 1.351 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.246, allocations: 1.531 kB / 1.351 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/1.246, allocations: 23.91 kB / 1.351 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.246, allocations: 2.562 kB / 1.351 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.246, allocations: 6.344 kB / 1.351 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.246, allocations: 5.047 kB / 1.351 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.246, allocations: 6.125 kB / 1.351 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/1.246, allocations: 298.9 kB / 1.351 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.247, allocations: 124.5 kB / 1.352 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/1.247, allocations: 11.34 kB / 1.352 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.247, allocations: 7.938 kB / 1.352 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/1.247, allocations: 22.44 kB / 1.352 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/1.247, allocations: 4.844 kB / 1.352 GB, free: 4.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000266/1.247, allocations: 224.6 kB / 1.352 GB, free: 4.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.247, allocations: 1.531 kB / 1.352 GB, free: 4.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007277/1.248, allocations: 130.5 kB / 1.352 GB, free: 4.48 MB / 1.029 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.0004823/1.248, allocations: 168.7 kB / 1.352 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005686/1.249, allocations: 249.5 kB / 1.352 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.249, allocations: 0 / 1.352 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/1.249, allocations: 64.25 kB / 1.352 GB, free: 4.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/1.25, allocations: 124.1 kB / 1.352 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/1.251, allocations: 0.502 MB / 1.353 GB, free: 3.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/1.251, allocations: 0.7761 MB / 1.354 GB, free: 3.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002458/1.251, allocations: 88.62 kB / 1.354 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/1.251, allocations: 28.91 kB / 1.354 GB, free: 3.16 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/1.251, allocations: 0 / 1.354 GB, free: 3.16 MB / 1.029 GB Notification: Performance of Templates: time 0.01044/1.262, allocations: 4.917 MB / 1.359 GB, free: 2.254 MB / 1.029 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