Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001506/0.001506, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001637/0.001637, allocations: 187 kB / 17.34 MB, free: 5.719 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.11 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8043, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1952/0.9995, allocations: 169.5 MB / 1.374 GB, free: 3.512 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009548/1.009, allocations: 7.321 MB / 1.381 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/1.01, allocations: 11.94 kB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009266/1.011, allocations: 218.6 kB / 1.381 GB, free: 11.94 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/1.013, allocations: 0.5716 MB / 1.382 GB, free: 11.37 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/1.014, allocations: 430.3 kB / 1.382 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001204/1.015, allocations: 0.7051 MB / 1.383 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/1.016, allocations: 271 kB / 1.383 GB, free: 9.977 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008969/1.017, allocations: 378.5 kB / 1.384 GB, free: 9.605 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/1.017, allocations: 211.1 kB / 1.384 GB, free: 9.398 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/1.017, allocations: 20 kB / 1.384 GB, free: 9.379 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/1.019, allocations: 0.7092 MB / 1.384 GB, free: 8.668 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/1.019, allocations: 111.7 kB / 1.385 GB, free: 8.559 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/1.019, allocations: 159.2 kB / 1.385 GB, free: 8.402 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/1.02, allocations: 0.5706 MB / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.02, allocations: 0 / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.265e-06/1.02, allocations: 0 / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.688e-05/1.02, allocations: 3.938 kB / 1.385 GB, free: 7.828 MB / 1.107 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.001256/1.022, allocations: 0.6387 MB / 1.386 GB, free: 7.141 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.022, allocations: 8.031 kB / 1.386 GB, free: 7.133 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/1.022, allocations: 67.53 kB / 1.386 GB, free: 7.066 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/1.023, allocations: 322 kB / 1.386 GB, free: 6.715 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/1.023, allocations: 20.44 kB / 1.386 GB, free: 6.695 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/1.023, allocations: 20 kB / 1.386 GB, free: 6.676 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/1.024, allocations: 308.5 kB / 1.387 GB, free: 6.336 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/1.024, allocations: 7.938 kB / 1.387 GB, free: 6.328 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/1.024, allocations: 15.92 kB / 1.387 GB, free: 6.312 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.024, allocations: 4 kB / 1.387 GB, free: 6.309 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/1.024, allocations: 171.8 kB / 1.387 GB, free: 6.141 MB / 1.107 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.001761/1.026, allocations: 1.69 MB / 1.388 GB, free: 4.332 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/1.026, allocations: 90.5 kB / 1.389 GB, free: 4.234 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/1.026, allocations: 76.86 kB / 1.389 GB, free: 4.156 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/1.026, allocations: 194.1 kB / 1.389 GB, free: 3.93 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/1.027, allocations: 34.56 kB / 1.389 GB, free: 3.887 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/1.027, allocations: 0 / 1.389 GB, free: 3.887 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0007029/1.027, allocations: 221.1 kB / 1.389 GB, free: 3.664 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.027, allocations: 59.34 kB / 1.389 GB, free: 3.594 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/1.028, allocations: 320.5 kB / 1.389 GB, free: 3.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/1.028, allocations: 29.7 kB / 1.389 GB, free: 3.234 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.028, allocations: 195.8 kB / 1.39 GB, free: 3.039 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/1.028, allocations: 39.44 kB / 1.39 GB, free: 3 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/1.028, allocations: 53.61 kB / 1.39 GB, free: 2.941 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.028, allocations: 346.8 kB / 1.39 GB, free: 2.594 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/1.028, allocations: 56.81 kB / 1.39 GB, free: 2.535 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/1.028, allocations: 193.1 kB / 1.39 GB, free: 2.285 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/1.029, allocations: 233.4 kB / 1.391 GB, free: 2.008 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.029, allocations: 0 / 1.391 GB, free: 2.008 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004731/1.029, allocations: 256.9 kB / 1.391 GB, free: 1.75 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.029, allocations: 8 kB / 1.391 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.029, allocations: 4 kB / 1.391 GB, free: 1.738 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.029, allocations: 4 kB / 1.391 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.03, allocations: 47.91 kB / 1.391 GB, free: 1.688 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.03, allocations: 7.938 kB / 1.391 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/1.03, allocations: 44.05 kB / 1.391 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/1.03, allocations: 15.98 kB / 1.391 GB, free: 1.621 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002275/1.03, allocations: 172.1 kB / 1.391 GB, free: 1.449 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000245/1.03, allocations: 191.2 kB / 1.391 GB, free: 1.203 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003317/1.031, allocations: 233.4 kB / 1.391 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/1.031, allocations: 0 / 1.391 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004574/1.031, allocations: 256.9 kB / 1.392 GB, free: 0.668 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.031, allocations: 7.938 kB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.031, allocations: 4.156 kB / 1.392 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/1.031, allocations: 11.94 kB / 1.392 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.031, allocations: 39.92 kB / 1.392 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.031, allocations: 19.91 kB / 1.392 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/1.032, allocations: 28.3 kB / 1.392 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/1.032, allocations: 12 kB / 1.392 GB, free: 0.5469 MB / 1.107 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.0001329/1.032, allocations: 192.2 kB / 1.392 GB, free: 360 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/1.032, allocations: 35.56 kB / 1.392 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/1.032, allocations: 164.7 kB / 1.392 GB, free: 156 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/1.032, allocations: 0 / 1.392 GB, free: 156 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/1.032, allocations: 0 / 1.392 GB, free: 156 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.032, allocations: 11.97 kB / 1.392 GB, free: 144 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/1.033, allocations: 0.6055 MB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.033, allocations: 0 / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.033, allocations: 31.92 kB / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.034, allocations: 4 kB / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.034, allocations: 0 / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.034, allocations: 7.938 kB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.034, allocations: 7.938 kB / 1.393 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/1.034, allocations: 301.2 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.034, allocations: 116.7 kB / 1.393 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/1.034, allocations: 4 kB / 1.393 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/1.034, allocations: 11.98 kB / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/1.034, allocations: 19.86 kB / 1.393 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/1.034, allocations: 4 kB / 1.393 GB, free: 14.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002205/1.035, allocations: 227 kB / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0 / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005853/1.035, allocations: 131.8 kB / 1.394 GB, free: 14.55 MB / 1.123 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.0004154/1.036, allocations: 165.2 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005779/1.036, allocations: 252.8 kB / 1.394 GB, free: 14.15 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.036, allocations: 4 kB / 1.394 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.036, allocations: 59.84 kB / 1.394 GB, free: 14.09 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/1.037, allocations: 130.6 kB / 1.394 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/1.038, allocations: 0.53 MB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/1.038, allocations: 0.7717 MB / 1.395 GB, free: 12.57 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/1.038, allocations: 27.44 kB / 1.396 GB, free: 12.55 MB / 1.123 GB Notification: Performance of SimCode: time 2.6e-07/1.038, allocations: 0 / 1.396 GB, free: 12.55 MB / 1.123 GB Notification: Performance of Templates: time 0.007703/1.046, allocations: 4.486 MB / 1.4 GB, free: 8.102 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches