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.001391/0.001391, allocations: 101.6 kB / 16.4 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.001423/0.001423, allocations: 192.2 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8326, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1874/1.02, allocations: 169.4 MB / 1.374 GB, free: 3.504 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009765/1.03, allocations: 7.323 MB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006241/1.03, allocations: 15.88 kB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/1.031, allocations: 210.6 kB / 1.381 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/1.033, allocations: 0.5677 MB / 1.382 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/1.035, allocations: 434.2 kB / 1.382 GB, free: 10.94 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001128/1.036, allocations: 0.7089 MB / 1.383 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005376/1.036, allocations: 263.1 kB / 1.383 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/1.037, allocations: 378.5 kB / 1.384 GB, free: 9.602 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/1.038, allocations: 223 kB / 1.384 GB, free: 9.383 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/1.038, allocations: 20 kB / 1.384 GB, free: 9.363 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/1.039, allocations: 0.6977 MB / 1.384 GB, free: 8.664 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/1.039, allocations: 115.6 kB / 1.385 GB, free: 8.551 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/1.039, allocations: 151.2 kB / 1.385 GB, free: 8.402 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009962/1.04, allocations: 0.5706 MB / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.04, allocations: 0 / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.264e-06/1.04, allocations: 0 / 1.385 GB, free: 7.832 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.393e-05/1.04, allocations: 0 / 1.385 GB, free: 7.832 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.001103/1.041, allocations: 0.6388 MB / 1.386 GB, free: 7.145 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.042, allocations: 19.91 kB / 1.386 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/1.042, allocations: 67.52 kB / 1.386 GB, free: 7.059 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/1.043, allocations: 326 kB / 1.386 GB, free: 6.703 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.043, allocations: 16.44 kB / 1.386 GB, free: 6.688 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/1.043, allocations: 20 kB / 1.386 GB, free: 6.668 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/1.043, allocations: 304.6 kB / 1.387 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.043, allocations: 0 / 1.387 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/1.043, allocations: 11.94 kB / 1.387 GB, free: 6.32 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.043, allocations: 4 kB / 1.387 GB, free: 6.316 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/1.044, allocations: 183.7 kB / 1.387 GB, free: 6.137 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.001772/1.045, allocations: 1.694 MB / 1.388 GB, free: 4.324 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/1.046, allocations: 86.56 kB / 1.389 GB, free: 4.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/1.046, allocations: 80.84 kB / 1.389 GB, free: 4.148 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/1.046, allocations: 186.1 kB / 1.389 GB, free: 3.93 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.046, allocations: 34.56 kB / 1.389 GB, free: 3.887 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 3.486e-06/1.046, allocations: 4 kB / 1.389 GB, free: 3.883 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.000718/1.047, allocations: 229.1 kB / 1.389 GB, free: 3.652 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.047, allocations: 51.41 kB / 1.389 GB, free: 3.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/1.047, allocations: 316.5 kB / 1.389 GB, free: 3.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/1.047, allocations: 33.7 kB / 1.389 GB, free: 3.23 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/1.048, allocations: 199.8 kB / 1.39 GB, free: 3.031 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/1.048, allocations: 39.45 kB / 1.39 GB, free: 2.992 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/1.048, allocations: 53.61 kB / 1.39 GB, free: 2.934 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.048, allocations: 338.8 kB / 1.39 GB, free: 2.594 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.048, allocations: 60.81 kB / 1.39 GB, free: 2.531 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/1.048, allocations: 195.1 kB / 1.39 GB, free: 2.281 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/1.049, allocations: 233.5 kB / 1.391 GB, free: 2.004 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.049, allocations: 4 kB / 1.391 GB, free: 2 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004845/1.049, allocations: 252.9 kB / 1.391 GB, free: 1.746 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.049, allocations: 4 kB / 1.391 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.049, allocations: 4.406 kB / 1.391 GB, free: 1.738 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.049, allocations: 8.141 kB / 1.391 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/1.049, allocations: 47.91 kB / 1.391 GB, free: 1.684 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.049, allocations: 8.078 kB / 1.391 GB, free: 1.676 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/1.05, allocations: 43.64 kB / 1.391 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/1.05, allocations: 23.92 kB / 1.391 GB, free: 1.609 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002269/1.05, allocations: 168.1 kB / 1.391 GB, free: 1.441 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002343/1.05, allocations: 192.9 kB / 1.391 GB, free: 1.191 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003494/1.051, allocations: 229.5 kB / 1.391 GB, free: 0.918 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/1.051, allocations: 0 / 1.391 GB, free: 0.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004546/1.051, allocations: 256.8 kB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.051, allocations: 11.94 kB / 1.392 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.051, allocations: 8.344 kB / 1.392 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.051, allocations: 8 kB / 1.392 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.051, allocations: 47.91 kB / 1.392 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.051, allocations: 4 kB / 1.392 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/1.051, allocations: 23.92 kB / 1.392 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.052, 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.0001186/1.052, allocations: 196.2 kB / 1.392 GB, free: 356 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/1.052, allocations: 31.56 kB / 1.392 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/1.052, allocations: 168.4 kB / 1.392 GB, free: 152 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.052, allocations: 3.984 kB / 1.392 GB, free: 148 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.052, allocations: 3.938 kB / 1.392 GB, free: 144 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.052, allocations: 4 kB / 1.392 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/1.053, allocations: 0.6053 MB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/1.053, allocations: 4 kB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.053, allocations: 27.98 kB / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.053, allocations: 0 / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.053, allocations: 8.219 kB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.053, allocations: 15.92 kB / 1.393 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.053, allocations: 3.938 kB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/1.054, allocations: 301.8 kB / 1.393 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.054, allocations: 116.7 kB / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/1.054, allocations: 3.984 kB / 1.393 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.054, allocations: 8 kB / 1.393 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.054, allocations: 19.92 kB / 1.393 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.054, allocations: 8 kB / 1.393 GB, free: 14.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002302/1.054, allocations: 223 kB / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.3e-07/1.054, allocations: 7.938 kB / 1.394 GB, free: 14.67 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000597/1.055, allocations: 127.8 kB / 1.394 GB, free: 14.54 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.0004112/1.055, allocations: 170.2 kB / 1.394 GB, free: 14.38 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006152/1.056, allocations: 249 kB / 1.394 GB, free: 14.13 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.056, allocations: 0 / 1.394 GB, free: 14.13 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/1.056, allocations: 64.41 kB / 1.394 GB, free: 14.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/1.057, allocations: 128.3 kB / 1.394 GB, free: 13.95 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/1.058, allocations: 0.5238 MB / 1.395 GB, free: 13.36 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/1.058, allocations: 0.7794 MB / 1.395 GB, free: 12.56 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/1.058, allocations: 23.44 kB / 1.396 GB, free: 12.54 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/1.058, allocations: 0 / 1.396 GB, free: 12.54 MB / 1.123 GB Notification: Performance of Templates: time 0.007323/1.066, allocations: 4.478 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