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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001111/0.001111, allocations: 107.5 kB / 16.41 MB, free: 6.469 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.001043/0.001043, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.318/1.318, 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 12.0.0-master/package.mo): time 2.605/2.605, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6976, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.169/0.8666, allocations: 169.5 MB / 1.392 GB, free: 3.418 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008262/0.8749, allocations: 7.326 MB / 1.399 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.8754, allocations: 11.94 kB / 1.399 GB, free: 12.06 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.8761, allocations: 226.5 kB / 1.399 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.8776, allocations: 0.5873 MB / 1.4 GB, free: 11.25 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.8788, allocations: 432.7 kB / 1.4 GB, free: 10.83 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008961/0.8797, allocations: 0.709 MB / 1.401 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.8801, allocations: 283.6 kB / 1.401 GB, free: 9.844 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006998/0.8808, allocations: 386.5 kB / 1.402 GB, free: 9.465 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.8811, allocations: 215 kB / 1.402 GB, free: 9.254 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.8812, allocations: 20 kB / 1.402 GB, free: 9.234 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.8824, allocations: 0.7055 MB / 1.402 GB, free: 8.527 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.8825, allocations: 111.6 kB / 1.403 GB, free: 8.418 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.8827, allocations: 167.1 kB / 1.403 GB, free: 8.254 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.8835, allocations: 0.5729 MB / 1.403 GB, free: 7.684 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8836, allocations: 0 / 1.403 GB, free: 7.684 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8836, allocations: 0 / 1.403 GB, free: 7.684 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.8836, allocations: 0 / 1.403 GB, free: 7.684 MB / 1.123 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.0008779/0.8845, allocations: 0.6559 MB / 1.404 GB, free: 6.98 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8845, allocations: 12.03 kB / 1.404 GB, free: 6.969 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.8849, allocations: 67.67 kB / 1.404 GB, free: 6.902 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.8853, allocations: 318.4 kB / 1.404 GB, free: 6.551 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.8854, allocations: 24.38 kB / 1.404 GB, free: 6.527 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.8854, allocations: 24 kB / 1.404 GB, free: 6.504 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.8859, allocations: 304.5 kB / 1.405 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.8859, allocations: 0 / 1.405 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.8859, allocations: 11.94 kB / 1.405 GB, free: 6.152 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.886, allocations: 4 kB / 1.405 GB, free: 6.148 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.8863, allocations: 175.7 kB / 1.405 GB, free: 5.977 MB / 1.123 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.001605/0.888, allocations: 1.694 MB / 1.406 GB, free: 4.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.8882, allocations: 86.56 kB / 1.407 GB, free: 4.066 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.8884, allocations: 80.86 kB / 1.407 GB, free: 3.984 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.8887, allocations: 194.1 kB / 1.407 GB, free: 3.758 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.8887, allocations: 30.56 kB / 1.407 GB, free: 3.719 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.8887, allocations: 0 / 1.407 GB, free: 3.719 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0006708/0.8894, allocations: 233.6 kB / 1.407 GB, free: 3.484 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.8894, allocations: 51.41 kB / 1.407 GB, free: 3.422 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.8898, allocations: 320.5 kB / 1.407 GB, free: 3.094 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.8898, allocations: 33.7 kB / 1.407 GB, free: 3.055 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.8899, allocations: 188.2 kB / 1.408 GB, free: 2.867 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.89, allocations: 55.56 kB / 1.408 GB, free: 2.812 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.8901, allocations: 45.7 kB / 1.408 GB, free: 2.762 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8902, allocations: 342.8 kB / 1.408 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.8904, allocations: 64.81 kB / 1.408 GB, free: 2.352 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.8907, allocations: 195.2 kB / 1.408 GB, free: 2.102 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.8911, allocations: 233.5 kB / 1.409 GB, free: 1.824 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8911, allocations: 0 / 1.409 GB, free: 1.824 MB / 1.123 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004679/0.8915, allocations: 257 kB / 1.409 GB, free: 1.566 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8916, allocations: 8 kB / 1.409 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.8916, allocations: 4 kB / 1.409 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.8916, allocations: 4 kB / 1.409 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.8918, allocations: 56.25 kB / 1.409 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8918, allocations: 8 kB / 1.409 GB, free: 1.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.8921, allocations: 31.83 kB / 1.409 GB, free: 1.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.8921, allocations: 16 kB / 1.409 GB, free: 1.441 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002358/0.8924, allocations: 171.9 kB / 1.409 GB, free: 1.27 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002539/0.8926, allocations: 197 kB / 1.409 GB, free: 1.016 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003522/0.893, allocations: 229.5 kB / 1.409 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.893, allocations: 0 / 1.409 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004501/0.8934, allocations: 253.3 kB / 1.41 GB, free: 500 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.8935, allocations: 15.92 kB / 1.41 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.8935, allocations: 4 kB / 1.41 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/0.8935, allocations: 4 kB / 1.41 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.8937, allocations: 44.33 kB / 1.41 GB, free: 432 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.8937, allocations: 15.92 kB / 1.41 GB, free: 416 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.8939, allocations: 27.88 kB / 1.41 GB, free: 388 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.8939, allocations: 16 kB / 1.41 GB, free: 372 kB / 1.123 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.0001093/0.8941, allocations: 193.5 kB / 1.41 GB, free: 172 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.8941, allocations: 35.75 kB / 1.41 GB, free: 136 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.8945, allocations: 164.5 kB / 1.41 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8945, allocations: 4 kB / 1.41 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8945, allocations: 4 kB / 1.41 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.8946, allocations: 124.8 kB / 1.41 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.8947, allocations: 0 / 1.41 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.8949, allocations: 7.984 kB / 1.41 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.8949, allocations: 8 kB / 1.41 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003791/0.8953, allocations: 220.8 kB / 1.411 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003772/0.8957, allocations: 334.5 kB / 1.411 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001305/0.8958, allocations: 51.89 kB / 1.411 GB, free: 15.18 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002277/0.8961, allocations: 227 kB / 1.411 GB, free: 14.96 MB / 1.139 GB Notification: Performance of Backend: time 5.21e-07/0.8961, allocations: 0 / 1.411 GB, free: 14.96 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.8974, allocations: 424.2 kB / 1.412 GB, free: 14.55 MB / 1.139 GB Notification: Performance of SimCode: time 0.001212/0.8986, allocations: 0.9953 MB / 1.413 GB, free: 13.51 MB / 1.139 GB Notification: Performance of Templates: time 0.01164/0.9102, allocations: 6.529 MB / 1.419 GB, free: 7.047 MB / 1.139 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