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.007539/0.007539, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001832/0.001832, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.516/2.516, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 71.83 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8688, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1893/1.058, allocations: 169.5 MB / 1.332 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009157/1.067, allocations: 7.327 MB / 1.339 GB, free: 2.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006801/1.068, allocations: 15.88 kB / 1.339 GB, free: 2.305 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008236/1.069, allocations: 210.6 kB / 1.339 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/1.071, allocations: 0.5716 MB / 1.34 GB, free: 1.523 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/1.072, allocations: 427.4 kB / 1.34 GB, free: 1.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001/1.073, allocations: 0.709 MB / 1.341 GB, free: 408 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/1.073, allocations: 263.1 kB / 1.341 GB, free: 144 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/1.074, allocations: 386.5 kB / 1.342 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/1.074, allocations: 207.1 kB / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/1.074, allocations: 20 kB / 1.342 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/1.076, allocations: 0.7055 MB / 1.343 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/1.076, allocations: 111.6 kB / 1.343 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/1.076, allocations: 155.2 kB / 1.343 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000885/1.077, allocations: 0.5806 MB / 1.343 GB, free: 13.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/1.077, allocations: 0 / 1.343 GB, free: 13.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.077, allocations: 0 / 1.343 GB, free: 13.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.077, allocations: 0 / 1.343 GB, free: 13.99 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.0009211/1.078, allocations: 0.6576 MB / 1.344 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.078, allocations: 8.625 kB / 1.344 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/1.078, allocations: 71.66 kB / 1.344 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/1.079, allocations: 318.3 kB / 1.345 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/1.079, allocations: 20.44 kB / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/1.079, allocations: 24 kB / 1.345 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/1.079, allocations: 300.6 kB / 1.345 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.079, allocations: 3.938 kB / 1.345 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/1.079, allocations: 11.94 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.079, allocations: 8 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/1.08, allocations: 175.7 kB / 1.345 GB, free: 12.29 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.001682/1.082, allocations: 1.698 MB / 1.347 GB, free: 10.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/1.082, allocations: 82.61 kB / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/1.082, allocations: 88.8 kB / 1.347 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/1.082, allocations: 190.1 kB / 1.347 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.082, allocations: 38.5 kB / 1.347 GB, free: 10.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.903e-06/1.082, allocations: 0 / 1.347 GB, free: 10.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0007059/1.083, allocations: 229.3 kB / 1.347 GB, free: 9.789 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.083, allocations: 51.41 kB / 1.347 GB, free: 9.727 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/1.083, allocations: 320.5 kB / 1.348 GB, free: 9.406 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/1.084, allocations: 29.7 kB / 1.348 GB, free: 9.371 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.084, allocations: 188.2 kB / 1.348 GB, free: 9.184 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/1.084, allocations: 51.58 kB / 1.348 GB, free: 9.133 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/1.084, allocations: 49.7 kB / 1.348 GB, free: 9.078 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.084, allocations: 338.8 kB / 1.348 GB, free: 8.738 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.084, allocations: 64.81 kB / 1.348 GB, free: 8.672 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/1.084, allocations: 195.7 kB / 1.349 GB, free: 8.422 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/1.085, allocations: 233.5 kB / 1.349 GB, free: 8.145 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.085, allocations: 4 kB / 1.349 GB, free: 8.141 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004961/1.085, allocations: 257 kB / 1.349 GB, free: 7.883 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.085, allocations: 7.984 kB / 1.349 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.085, allocations: 4 kB / 1.349 GB, free: 7.871 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.085, allocations: 8 kB / 1.349 GB, free: 7.863 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/1.086, allocations: 44.33 kB / 1.349 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.086, allocations: 15.98 kB / 1.349 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/1.086, allocations: 31.83 kB / 1.349 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/1.086, allocations: 12 kB / 1.349 GB, free: 7.762 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002297/1.086, allocations: 168.1 kB / 1.349 GB, free: 7.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002547/1.086, allocations: 193 kB / 1.349 GB, free: 7.344 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003513/1.087, allocations: 229.5 kB / 1.35 GB, free: 7.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/1.087, allocations: 4 kB / 1.35 GB, free: 7.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004643/1.087, allocations: 253.2 kB / 1.35 GB, free: 6.812 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.087, allocations: 11.94 kB / 1.35 GB, free: 6.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.087, allocations: 4.047 kB / 1.35 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/1.087, allocations: 7.984 kB / 1.35 GB, free: 6.789 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/1.087, allocations: 48.31 kB / 1.35 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.087, allocations: 8 kB / 1.35 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/1.088, allocations: 27.88 kB / 1.35 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/1.088, allocations: 19.94 kB / 1.35 GB, free: 6.688 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.0001295/1.088, allocations: 200.1 kB / 1.35 GB, free: 6.484 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/1.088, allocations: 31.75 kB / 1.35 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/1.088, allocations: 176.9 kB / 1.35 GB, free: 6.273 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/1.088, allocations: 4 kB / 1.35 GB, free: 6.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.088, allocations: 4 kB / 1.35 GB, free: 6.266 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.088, allocations: 0 / 1.35 GB, free: 6.266 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009694/1.089, allocations: 0.6016 MB / 1.351 GB, free: 5.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.089, allocations: 4 kB / 1.351 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/1.089, allocations: 31.91 kB / 1.351 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.089, allocations: 0 / 1.351 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.09, allocations: 4 kB / 1.351 GB, free: 5.547 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.09, allocations: 4 kB / 1.351 GB, free: 5.543 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.09, allocations: 7.938 kB / 1.351 GB, free: 5.535 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/1.09, allocations: 309.4 kB / 1.351 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/1.09, allocations: 120.8 kB / 1.351 GB, free: 5.059 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/1.09, allocations: 4 kB / 1.351 GB, free: 5.055 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/1.09, allocations: 11.98 kB / 1.351 GB, free: 5.043 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/1.09, allocations: 11.94 kB / 1.352 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.09, allocations: 8 kB / 1.352 GB, free: 5.023 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002277/1.091, allocations: 231 kB / 1.352 GB, free: 4.797 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.091, allocations: 0 / 1.352 GB, free: 4.797 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005651/1.091, allocations: 131.8 kB / 1.352 GB, free: 4.668 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.0003844/1.092, allocations: 158.5 kB / 1.352 GB, free: 4.512 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005761/1.092, allocations: 252.7 kB / 1.352 GB, free: 4.266 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.092, allocations: 3.938 kB / 1.352 GB, free: 4.262 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/1.092, allocations: 65.14 kB / 1.352 GB, free: 4.199 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/1.093, allocations: 122.1 kB / 1.352 GB, free: 4.082 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/1.094, allocations: 0.5043 MB / 1.353 GB, free: 3.531 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/1.094, allocations: 0.7678 MB / 1.354 GB, free: 2.738 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000245/1.094, allocations: 90.88 kB / 1.354 GB, free: 2.645 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/1.095, allocations: 23.44 kB / 1.354 GB, free: 2.621 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.095, allocations: 0 / 1.354 GB, free: 2.621 MB / 1.076 GB Notification: Performance of Templates: time 0.009341/1.104, allocations: 4.912 MB / 1.359 GB, free: 13.79 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/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