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.001874/0.001874, allocations: 108.9 kB / 16.41 MB, free: 6.492 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.002295/0.002296, allocations: 192.2 kB / 17.35 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.519/2.519, 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 4.318/4.318, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9194/0.9209, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2523/1.173, allocations: 169.5 MB / 1.374 GB, free: 3.527 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008262/1.182, allocations: 7.323 MB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/1.182, allocations: 11.94 kB / 1.381 GB, free: 12.17 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006955/1.183, allocations: 210.6 kB / 1.381 GB, free: 11.96 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/1.184, allocations: 0.5824 MB / 1.382 GB, free: 11.38 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/1.186, allocations: 426.2 kB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000953/1.186, allocations: 0.7051 MB / 1.383 GB, free: 10.26 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/1.187, allocations: 271 kB / 1.383 GB, free: 9.992 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/1.188, allocations: 382.5 kB / 1.384 GB, free: 9.617 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/1.188, allocations: 215.1 kB / 1.384 GB, free: 9.406 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/1.188, allocations: 20 kB / 1.384 GB, free: 9.387 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/1.189, allocations: 0.7054 MB / 1.384 GB, free: 8.68 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/1.189, allocations: 107.7 kB / 1.385 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001827/1.19, allocations: 159.2 kB / 1.385 GB, free: 8.418 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008572/1.19, allocations: 0.5706 MB / 1.385 GB, free: 7.848 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/1.19, allocations: 3.984 kB / 1.385 GB, free: 7.844 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.212e-06/1.19, allocations: 0 / 1.385 GB, free: 7.844 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.19, allocations: 0 / 1.385 GB, free: 7.844 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.0009065/1.191, allocations: 0.6349 MB / 1.386 GB, free: 7.16 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/1.191, allocations: 12.03 kB / 1.386 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/1.192, allocations: 67.52 kB / 1.386 GB, free: 7.082 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/1.192, allocations: 326 kB / 1.386 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/1.192, allocations: 20.44 kB / 1.386 GB, free: 6.707 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/1.192, allocations: 24 kB / 1.386 GB, free: 6.684 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/1.193, allocations: 296.6 kB / 1.387 GB, free: 6.355 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.193, allocations: 4 kB / 1.387 GB, free: 6.352 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.193, allocations: 7.938 kB / 1.387 GB, free: 6.344 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.193, allocations: 8 kB / 1.387 GB, free: 6.336 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/1.193, allocations: 179.7 kB / 1.387 GB, free: 6.16 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.001658/1.195, allocations: 1.694 MB / 1.388 GB, free: 4.348 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/1.195, allocations: 82.56 kB / 1.389 GB, free: 4.258 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/1.195, allocations: 88.8 kB / 1.389 GB, free: 4.168 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/1.196, allocations: 190.1 kB / 1.389 GB, free: 3.945 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/1.196, allocations: 34.56 kB / 1.389 GB, free: 3.902 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/1.196, allocations: 0 / 1.389 GB, free: 3.902 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0007104/1.196, allocations: 221.5 kB / 1.389 GB, free: 3.68 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.196, allocations: 55.34 kB / 1.389 GB, free: 3.613 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/1.197, allocations: 316.5 kB / 1.389 GB, free: 3.293 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/1.197, allocations: 29.7 kB / 1.389 GB, free: 3.258 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/1.197, allocations: 203.8 kB / 1.39 GB, free: 3.055 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/1.197, allocations: 39.45 kB / 1.39 GB, free: 3.016 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/1.197, allocations: 49.62 kB / 1.39 GB, free: 2.961 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.197, allocations: 346.8 kB / 1.39 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/1.197, allocations: 64.75 kB / 1.39 GB, free: 2.547 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/1.198, allocations: 185.1 kB / 1.39 GB, free: 2.305 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/1.198, allocations: 241.4 kB / 1.391 GB, free: 2.02 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.198, allocations: 0 / 1.391 GB, free: 2.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004897/1.199, allocations: 252.9 kB / 1.391 GB, free: 1.766 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.199, allocations: 8 kB / 1.391 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.199, allocations: 0 / 1.391 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.199, allocations: 8 kB / 1.391 GB, free: 1.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/1.199, allocations: 51.91 kB / 1.391 GB, free: 1.699 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.199, allocations: 8.406 kB / 1.391 GB, free: 1.691 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/1.199, allocations: 39.67 kB / 1.391 GB, free: 1.652 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/1.199, allocations: 12 kB / 1.391 GB, free: 1.641 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000282/1.199, allocations: 172 kB / 1.391 GB, free: 1.469 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002425/1.2, allocations: 195.2 kB / 1.391 GB, free: 1.219 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003548/1.2, allocations: 233.5 kB / 1.391 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/1.2, allocations: 4 kB / 1.391 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004664/1.201, allocations: 253 kB / 1.392 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.201, allocations: 11.94 kB / 1.392 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.201, allocations: 4 kB / 1.392 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/1.201, allocations: 4 kB / 1.392 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.201, allocations: 47.91 kB / 1.392 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.201, allocations: 4.406 kB / 1.392 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/1.201, allocations: 35.91 kB / 1.392 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/1.201, allocations: 12 kB / 1.392 GB, free: 0.5664 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.0001206/1.201, allocations: 192.2 kB / 1.392 GB, free: 380 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/1.201, allocations: 31.56 kB / 1.392 GB, free: 348 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/1.202, allocations: 176.3 kB / 1.392 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.202, allocations: 0 / 1.392 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.202, allocations: 4 kB / 1.392 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/1.202, allocations: 116.7 kB / 1.392 GB, free: 28 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/1.202, allocations: 0 / 1.392 GB, free: 28 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.202, allocations: 11.98 kB / 1.392 GB, free: 16 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/1.202, allocations: 11.98 kB / 1.392 GB, free: 4 kB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004064/1.202, allocations: 216.8 kB / 1.393 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003848/1.203, allocations: 330.4 kB / 1.393 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001366/1.203, allocations: 51.95 kB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002153/1.203, allocations: 223.1 kB / 1.393 GB, free: 15.18 MB / 1.123 GB Notification: Performance of Backend: time 4.71e-07/1.203, allocations: 3.938 kB / 1.393 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.204, allocations: 429.1 kB / 1.394 GB, free: 14.76 MB / 1.123 GB Notification: Performance of SimCode: time 0.00128/1.206, allocations: 0.9919 MB / 1.395 GB, free: 13.71 MB / 1.123 GB Notification: Performance of Templates: time 0.01234/1.218, allocations: 6.631 MB / 1.401 GB, free: 7.152 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