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.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.6 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 65.41 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3608, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1861/0.5469, allocations: 169.4 MB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00929/0.5562, allocations: 7.325 MB / 1.241 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.5569, allocations: 19.88 kB / 1.241 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.5578, allocations: 214.5 kB / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.5596, allocations: 0.5677 MB / 1.242 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.561, allocations: 433.7 kB / 1.242 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.5623, allocations: 0.7051 MB / 1.243 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006468/0.563, allocations: 275 kB / 1.243 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.564, allocations: 374.5 kB / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.5645, allocations: 215.1 kB / 1.244 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.5646, allocations: 24 kB / 1.244 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.5658, allocations: 0.7054 MB / 1.244 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.566, allocations: 107.6 kB / 1.244 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.5662, allocations: 155.2 kB / 1.245 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009942/0.5672, allocations: 0.561 MB / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5672, allocations: 0 / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5672, allocations: 0 / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5673, allocations: 0 / 1.245 GB, free: 4.613 MB / 0.9981 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.001079/0.5683, allocations: 0.6503 MB / 1.246 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5684, allocations: 8.031 kB / 1.246 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.5688, allocations: 67.52 kB / 1.246 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.5693, allocations: 306.1 kB / 1.246 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5693, allocations: 20.44 kB / 1.246 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.5694, allocations: 20 kB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.5699, allocations: 300.6 kB / 1.246 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5699, allocations: 3.938 kB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.57, allocations: 15.94 kB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.57, allocations: 4 kB / 1.246 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.5704, allocations: 179.5 kB / 1.247 GB, free: 2.934 MB / 0.9981 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.001727/0.5721, allocations: 1.69 MB / 1.248 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.5724, allocations: 94.5 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5726, allocations: 76.84 kB / 1.248 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.5729, allocations: 194.1 kB / 1.249 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5729, allocations: 30.56 kB / 1.249 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.5729, allocations: 0 / 1.249 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.000707/0.5737, allocations: 221.2 kB / 1.249 GB, free: 468 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.5737, allocations: 63.33 kB / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.5741, allocations: 320.5 kB / 1.249 GB, free: 64 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.5741, allocations: 25.7 kB / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6218/1.196, allocations: 194.2 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/1.196, allocations: 41.8 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.196, allocations: 49.75 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/1.196, allocations: 338.1 kB / 1.25 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.197, allocations: 59.81 kB / 1.25 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/1.197, allocations: 193.8 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/1.197, allocations: 240.7 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.197, allocations: 1.531 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000597/1.198, allocations: 253.5 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.198, allocations: 10.36 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.198, allocations: 8.359 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.198, allocations: 5.234 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/1.198, allocations: 48.69 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.198, allocations: 5.609 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/1.198, allocations: 40.31 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/1.198, allocations: 13.8 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002614/1.199, allocations: 170.3 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002339/1.199, allocations: 196.9 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003627/1.199, allocations: 230.4 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/1.199, allocations: 1.344 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004932/1.2, allocations: 249.5 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.2, allocations: 7.531 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.2, allocations: 3.312 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/1.2, allocations: 5.25 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/1.2, allocations: 49.45 kB / 1.252 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.2, allocations: 16.38 kB / 1.252 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.2, allocations: 30.39 kB / 1.252 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.2, allocations: 10 kB / 1.252 GB, free: 186.6 MB / 0.9981 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.0001045/1.201, allocations: 201.4 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/1.201, allocations: 30.27 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/1.201, allocations: 165.7 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.201, allocations: 9.234 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.201, allocations: 0 / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.201, allocations: 2.719 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/1.202, allocations: 0.6129 MB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.202, allocations: 2.641 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/1.202, allocations: 23.78 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.202, allocations: 2.5 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/1.202, allocations: 3.516 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/1.202, allocations: 2.5 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.202, allocations: 14.91 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/1.203, allocations: 302.7 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/1.203, allocations: 120.5 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/1.203, allocations: 4.375 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/1.203, allocations: 11.33 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/1.203, allocations: 20.06 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/1.203, allocations: 7.094 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002647/1.203, allocations: 229.3 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.203, allocations: 0 / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006398/1.204, allocations: 125 kB / 1.253 GB, free: 185.6 MB / 0.9981 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.0004531/1.205, allocations: 168.2 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006467/1.205, allocations: 246.5 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.205, allocations: 1.438 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/1.205, allocations: 65.44 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000858/1.206, allocations: 131.5 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/1.207, allocations: 499.4 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/1.207, allocations: 0.779 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003102/1.208, allocations: 89.53 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/1.208, allocations: 24.5 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.208, allocations: 0.8438 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01202/1.22, allocations: 4.882 MB / 1.26 GB, free: 184.2 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches