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.001744/0.001743, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.78/2.78, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6405, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2258/0.8664, allocations: 169.5 MB / 1.183 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009941/0.8764, allocations: 7.32 MB / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006086/0.877, allocations: 11.94 kB / 1.19 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.8778, allocations: 214.5 kB / 1.19 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.8793, allocations: 0.5677 MB / 1.191 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.8807, allocations: 430.5 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009664/0.8816, allocations: 0.7167 MB / 1.192 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.8821, allocations: 267 kB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.8828, allocations: 382.5 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.8831, allocations: 207.1 kB / 1.193 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.8831, allocations: 20 kB / 1.193 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.8844, allocations: 0.7054 MB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.8846, allocations: 103.7 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.8847, allocations: 163.1 kB / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.8856, allocations: 0.5571 MB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8856, allocations: 4 kB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8857, allocations: 0 / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.8857, allocations: 0 / 1.194 GB, free: 12.71 MB / 0.9512 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.001002/0.8867, allocations: 0.6348 MB / 1.195 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8867, allocations: 12.03 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.8871, allocations: 67.52 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.8875, allocations: 306.1 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.8876, allocations: 20.44 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.8876, allocations: 20 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.8882, allocations: 304.6 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.8882, allocations: 0 / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.8882, allocations: 11.94 kB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8882, allocations: 4 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.8887, allocations: 183.5 kB / 1.196 GB, free: 11.04 MB / 0.9512 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.001998/0.8907, allocations: 1.698 MB / 1.197 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.891, allocations: 86.56 kB / 1.197 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.8912, allocations: 80.84 kB / 1.197 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.8915, allocations: 190.1 kB / 1.198 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.8915, allocations: 42.44 kB / 1.198 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.8915, allocations: 0 / 1.198 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0007512/0.8923, allocations: 213.2 kB / 1.198 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8924, allocations: 63.39 kB / 1.198 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.8927, allocations: 320.5 kB / 1.198 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.8928, allocations: 29.7 kB / 1.198 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.893, allocations: 195.8 kB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.893, allocations: 39.44 kB / 1.199 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.8931, allocations: 49.7 kB / 1.199 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.8933, allocations: 338.8 kB / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.8935, allocations: 60.81 kB / 1.199 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.8938, allocations: 197.1 kB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.8942, allocations: 233.5 kB / 1.199 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.8942, allocations: 7.922 kB / 1.199 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005169/0.8947, allocations: 257 kB / 1.2 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.8948, allocations: 11.94 kB / 1.2 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.8948, allocations: 4 kB / 1.2 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8948, allocations: 4.141 kB / 1.2 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.895, allocations: 47.91 kB / 1.2 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.895, allocations: 4 kB / 1.2 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.8953, allocations: 43.66 kB / 1.2 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.8953, allocations: 15.98 kB / 1.2 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002539/0.8956, allocations: 176.2 kB / 1.2 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002842/0.8959, allocations: 196.1 kB / 1.2 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004031/0.8963, allocations: 229.5 kB / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.8963, allocations: 0 / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005125/0.8968, allocations: 253.2 kB / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8968, allocations: 13.34 kB / 1.201 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.8968, allocations: 0 / 1.201 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.8969, allocations: 12 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.897, allocations: 43.91 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8971, allocations: 8 kB / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.8973, allocations: 27.83 kB / 1.201 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.8973, allocations: 12 kB / 1.201 GB, free: 5.434 MB / 0.9512 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.0001327/0.8975, allocations: 196.3 kB / 1.201 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.8975, allocations: 31.56 kB / 1.201 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.8979, allocations: 172.3 kB / 1.201 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.898, allocations: 0 / 1.201 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.898, allocations: 0 / 1.201 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.898, allocations: 3.984 kB / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.899, allocations: 0.6054 MB / 1.202 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.899, allocations: 224 / 1.202 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.8991, allocations: 31.92 kB / 1.202 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.8991, allocations: 4 kB / 1.202 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8992, allocations: 4 kB / 1.202 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8992, allocations: 3.984 kB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8992, allocations: 7.938 kB / 1.202 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.8996, allocations: 301.2 kB / 1.202 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.8997, allocations: 112.8 kB / 1.202 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.8998, allocations: 4 kB / 1.202 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.9, allocations: 19.98 kB / 1.202 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.9, allocations: 11.92 kB / 1.202 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.9001, allocations: 4 kB / 1.202 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002468/0.9003, allocations: 227 kB / 1.202 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9003, allocations: 0 / 1.202 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006206/0.9009, allocations: 135.8 kB / 1.202 GB, free: 3.434 MB / 0.9512 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.0004205/0.9014, allocations: 176.8 kB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006166/0.902, allocations: 249 kB / 1.203 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.902, allocations: 4.062 kB / 1.203 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.9022, allocations: 59.91 kB / 1.203 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.903, allocations: 126.2 kB / 1.203 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/0.9039, allocations: 0.5048 MB / 1.204 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.9044, allocations: 0.7795 MB / 1.204 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.9047, allocations: 82.88 kB / 1.204 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.9048, allocations: 27.44 kB / 1.204 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.9048, allocations: 0 / 1.204 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of Templates: time 0.012/0.9168, allocations: 4.873 MB / 1.209 GB, free: 12.57 MB / 0.9669 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=400 -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