Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001485/0.001485, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001747/0.001747, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.381/1.381, 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 10.1.0-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.88 kB / 0.8707 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2783, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6656/0.9439, allocations: 169.5 MB / 1.184 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008286/0.9522, allocations: 7.307 MB / 1.191 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006709/0.9529, allocations: 10.75 kB / 1.191 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.9538, allocations: 215 kB / 1.192 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.9556, allocations: 0.5777 MB / 1.192 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.957, allocations: 438.2 kB / 1.193 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.9579, allocations: 0.7014 MB / 1.193 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.9582, allocations: 274.5 kB / 1.194 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.9589, allocations: 381.9 kB / 1.194 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.9592, allocations: 211.8 kB / 1.194 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.9592, allocations: 18.78 kB / 1.194 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.9606, allocations: 0.7074 MB / 1.195 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.9607, allocations: 109.9 kB / 1.195 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.9609, allocations: 158.7 kB / 1.195 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.962, allocations: 0.5656 MB / 1.196 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.962, allocations: 0 / 1.196 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.577e-06/0.962, allocations: 0 / 1.196 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.962, allocations: 3.938 kB / 1.196 GB, free: 13.25 MB / 0.9044 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.0009967/0.963, allocations: 0.6393 MB / 1.196 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.9631, allocations: 12.36 kB / 1.196 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.9635, allocations: 64.3 kB / 1.196 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.964, allocations: 319.8 kB / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.964, allocations: 18.66 kB / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.9641, allocations: 23.84 kB / 1.197 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.9647, allocations: 299.7 kB / 1.197 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.9647, allocations: 5 kB / 1.197 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.9647, allocations: 15.5 kB / 1.197 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.9648, allocations: 5.781 kB / 1.197 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.9652, allocations: 181.7 kB / 1.197 GB, free: 12 MB / 0.9044 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.001834/0.967, allocations: 1.684 MB / 1.199 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.9673, allocations: 101.2 kB / 1.199 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.9675, allocations: 76.44 kB / 1.199 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.9678, allocations: 189.2 kB / 1.199 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.9678, allocations: 38.5 kB / 1.199 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.9678, allocations: 0 / 1.199 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006787/0.9685, allocations: 228.9 kB / 1.199 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.9685, allocations: 52.78 kB / 1.199 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.9689, allocations: 323.2 kB / 1.2 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.9689, allocations: 29.7 kB / 1.2 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.9691, allocations: 201.8 kB / 1.2 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.9691, allocations: 42.3 kB / 1.2 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.9692, allocations: 43.72 kB / 1.2 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9693, allocations: 342.4 kB / 1.2 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.9695, allocations: 62.91 kB / 1.2 GB, free: 9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.9697, allocations: 189.5 kB / 1.201 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.9701, allocations: 237.3 kB / 1.201 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9701, allocations: 4 kB / 1.201 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004405/0.9705, allocations: 252.4 kB / 1.201 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.9706, allocations: 8.094 kB / 1.201 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9706, allocations: 8.75 kB / 1.201 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9706, allocations: 2.781 kB / 1.201 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.9708, allocations: 53.28 kB / 1.201 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.9708, allocations: 9.188 kB / 1.201 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.9711, allocations: 35.95 kB / 1.201 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.9711, allocations: 12.88 kB / 1.201 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002124/0.9713, allocations: 167 kB / 1.201 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002214/0.9715, allocations: 191.5 kB / 1.202 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003226/0.9719, allocations: 240.2 kB / 1.202 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.9719, allocations: 6.75 kB / 1.202 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004144/0.9723, allocations: 240.8 kB / 1.202 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.9723, allocations: 9.188 kB / 1.202 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9723, allocations: 8.688 kB / 1.202 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.9723, allocations: 8.844 kB / 1.202 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.9725, allocations: 47.16 kB / 1.202 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9725, allocations: 10.05 kB / 1.202 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.9728, allocations: 32.25 kB / 1.202 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.9728, allocations: 13.81 kB / 1.202 GB, free: 7.684 MB / 0.9044 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.0001077/0.9729, allocations: 189.9 kB / 1.202 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.973, allocations: 34.69 kB / 1.202 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.9733, allocations: 167.2 kB / 1.203 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9733, allocations: 2.719 kB / 1.203 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9734, allocations: 0.5 kB / 1.203 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9734, allocations: 0 / 1.203 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.9743, allocations: 0.6117 MB / 1.203 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9743, allocations: 3.625 kB / 1.203 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.9744, allocations: 23.52 kB / 1.203 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9744, allocations: 2.875 kB / 1.203 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.9744, allocations: 10.53 kB / 1.203 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9744, allocations: 6.875 kB / 1.203 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9744, allocations: 6.312 kB / 1.203 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.9748, allocations: 298.8 kB / 1.203 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.9749, allocations: 110.7 kB / 1.204 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.975, allocations: 6.938 kB / 1.204 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.9752, allocations: 13.2 kB / 1.204 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.9752, allocations: 25.2 kB / 1.204 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.9753, allocations: 5.531 kB / 1.204 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002175/0.9755, allocations: 226.5 kB / 1.204 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9755, allocations: 0 / 1.204 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005692/0.9761, allocations: 130.3 kB / 1.204 GB, free: 6.238 MB / 0.9044 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.0003873/0.9765, allocations: 176.3 kB / 1.204 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005343/0.977, allocations: 251 kB / 1.204 GB, free: 6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.977, allocations: 0 / 1.204 GB, free: 6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.9772, allocations: 65.95 kB / 1.204 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.9779, allocations: 119.8 kB / 1.205 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.9787, allocations: 0.4924 MB / 1.205 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.979, allocations: 0.7779 MB / 1.206 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.9793, allocations: 82.52 kB / 1.206 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.9793, allocations: 26.77 kB / 1.206 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.9793, allocations: 6.625 kB / 1.206 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of Templates: time 0.008988/0.9883, allocations: 4.879 MB / 1.211 GB, free: 2.344 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches