Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 183.1 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000835/0.0008349, allocations: 90.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003915, allocations: 15.09 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/5.64, allocations: 2.183 GB / 3.083 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/5.64, allocations: 90.34 kB / 3.083 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6544/6.294, allocations: 332.5 MB / 3.407 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/6.294, allocations: 0 / 3.407 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.462e-05/6.294, allocations: 12 kB / 3.407 GB, free: 6.918 MB / 0.8855 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.001617/6.296, allocations: 0.705 MB / 3.408 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/6.296, allocations: 12.03 kB / 3.408 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/6.297, allocations: 55.59 kB / 3.408 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/6.297, allocations: 317.8 kB / 3.408 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/6.297, allocations: 20.39 kB / 3.409 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/6.297, allocations: 24 kB / 3.409 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/6.298, allocations: 296.6 kB / 3.409 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/6.298, allocations: 4 kB / 3.409 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/6.298, allocations: 4 kB / 3.409 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/6.298, allocations: 8 kB / 3.409 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/6.298, allocations: 175.7 kB / 3.409 GB, free: 5.184 MB / 0.8855 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.001596/6.3, allocations: 1.71 MB / 3.411 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/6.3, allocations: 94.42 kB / 3.411 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/6.3, allocations: 194.2 kB / 3.411 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/6.3, allocations: 30.56 kB / 3.411 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/6.3, allocations: 0 / 3.411 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0007141/6.301, allocations: 241.6 kB / 3.411 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/6.301, allocations: 51.41 kB / 3.411 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/6.301, allocations: 283.7 kB / 3.412 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/6.301, allocations: 25.7 kB / 3.412 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/6.302, allocations: 195.7 kB / 3.412 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/6.302, allocations: 35.55 kB / 3.412 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/6.302, allocations: 4 kB / 3.412 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/6.302, allocations: 338.8 kB / 3.412 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/6.302, allocations: 55.95 kB / 3.412 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/6.302, allocations: 196.2 kB / 3.412 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/6.302, allocations: 91.89 kB / 3.412 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/6.302, allocations: 0 / 3.412 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000409/6.303, allocations: 264.9 kB / 3.413 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.6638/6.966, allocations: 1.4 MB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/6.966, allocations: 2.281 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/6.967, allocations: 9.656 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/6.967, allocations: 48.08 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/6.967, allocations: 6.594 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/6.967, allocations: 40.73 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/6.967, allocations: 20.98 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/6.967, allocations: 3.438 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005071/6.968, allocations: 204.1 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/6.968, allocations: 3.438 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/6.968, allocations: 6 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/6.968, allocations: 49.16 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/6.968, allocations: 9.062 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/6.968, allocations: 42.8 kB / 3.414 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/6.968, allocations: 13.94 kB / 3.414 GB, free: 233.9 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002642/6.969, allocations: 230.6 kB / 3.415 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/6.969, allocations: 28.97 kB / 3.415 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/6.969, allocations: 181.2 kB / 3.415 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/6.969, allocations: 2.344 kB / 3.415 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.969, allocations: 3.031 kB / 3.415 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/6.969, allocations: 3.234 kB / 3.415 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/6.97, allocations: 0.6227 MB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/6.97, allocations: 3.156 kB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/6.97, allocations: 27.73 kB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/6.97, allocations: 2.75 kB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/6.97, allocations: 3.469 kB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/6.97, allocations: 5.156 kB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/6.97, allocations: 2.844 kB / 3.416 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/6.971, allocations: 392.5 kB / 3.416 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/6.971, allocations: 120.4 kB / 3.416 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/6.971, allocations: 3.656 kB / 3.416 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/6.971, allocations: 24.19 kB / 3.416 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/6.971, allocations: 15.39 kB / 3.416 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/6.971, allocations: 12 kB / 3.416 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002058/6.971, allocations: 213.2 kB / 3.416 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/6.971, allocations: 0 / 3.416 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001105/6.973, allocations: 252.2 kB / 3.417 GB, free: 232.8 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/6.975, allocations: 1.247 MB / 3.418 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006246/6.975, allocations: 257.2 kB / 3.418 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.975, allocations: 0 / 3.418 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/6.976, allocations: 75.53 kB / 3.418 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/6.976, allocations: 131.4 kB / 3.418 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/6.977, allocations: 0.5625 MB / 3.419 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/6.977, allocations: 0.784 MB / 3.42 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002838/6.978, allocations: 91.91 kB / 3.42 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/6.978, allocations: 25.81 kB / 3.42 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/6.978, allocations: 0 / 3.42 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.03571/7.014, allocations: 19.68 MB / 3.439 GB, free: 231.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_Pressure.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches