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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001453/0.001453, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001543/0.001543, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 62.81 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3304, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6616/0.992, allocations: 169.5 MB / 1.192 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008064/1, allocations: 7.312 MB / 1.199 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/1.001, allocations: 10.81 kB / 1.199 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/1.001, allocations: 202.2 kB / 1.2 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/1.003, allocations: 0.58 MB / 1.2 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/1.004, allocations: 433.7 kB / 1.201 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008758/1.005, allocations: 0.7134 MB / 1.201 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/1.005, allocations: 265.5 kB / 1.201 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/1.006, allocations: 385 kB / 1.202 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/1.006, allocations: 213.5 kB / 1.202 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/1.006, allocations: 19.91 kB / 1.202 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/1.007, allocations: 0.7097 MB / 1.203 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/1.008, allocations: 111 kB / 1.203 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/1.008, allocations: 159.7 kB / 1.203 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007221/1.008, allocations: 0.5638 MB / 1.204 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.008, allocations: 0 / 1.204 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.222e-06/1.008, allocations: 0 / 1.204 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.008, allocations: 2.625 kB / 1.204 GB, free: 3.215 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.0008451/1.009, allocations: 0.6419 MB / 1.204 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/1.009, allocations: 14.66 kB / 1.204 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/1.01, allocations: 66.95 kB / 1.204 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/1.01, allocations: 313.7 kB / 1.205 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/1.01, allocations: 18.44 kB / 1.205 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/1.01, allocations: 27.81 kB / 1.205 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/1.011, allocations: 300.7 kB / 1.205 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.011, allocations: 3.938 kB / 1.205 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/1.011, allocations: 10.72 kB / 1.205 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.011, allocations: 8 kB / 1.205 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/1.011, allocations: 178.5 kB / 1.205 GB, free: 1.957 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.001558/1.013, allocations: 1.686 MB / 1.207 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/1.013, allocations: 92.67 kB / 1.207 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/1.013, allocations: 82.61 kB / 1.207 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/1.013, allocations: 183.1 kB / 1.207 GB, free: 56 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.013, allocations: 45.25 kB / 1.207 GB, free: 4 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/1.013, allocations: 0 / 1.207 GB, free: 4 kB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006551/1.014, allocations: 222.8 kB / 1.207 GB, free: 15.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.014, allocations: 62.31 kB / 1.207 GB, free: 15.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/1.014, allocations: 316.4 kB / 1.208 GB, free: 15.61 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/1.014, allocations: 33.23 kB / 1.208 GB, free: 15.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.015, allocations: 195.8 kB / 1.208 GB, free: 15.39 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.015, allocations: 36.91 kB / 1.208 GB, free: 15.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/1.015, allocations: 45.95 kB / 1.208 GB, free: 15.33 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.015, allocations: 344 kB / 1.208 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/1.015, allocations: 62.72 kB / 1.208 GB, free: 14.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/1.015, allocations: 191.9 kB / 1.209 GB, free: 14.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/1.016, allocations: 237.1 kB / 1.209 GB, free: 14.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.016, allocations: 0 / 1.209 GB, free: 14.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004496/1.016, allocations: 255.5 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.016, allocations: 7.812 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.016, allocations: 2.531 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.016, allocations: 11.47 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/1.016, allocations: 54.91 kB / 1.209 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.016, allocations: 6.719 kB / 1.209 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/1.017, allocations: 42.64 kB / 1.209 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.017, allocations: 14.22 kB / 1.209 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002143/1.017, allocations: 169.6 kB / 1.209 GB, free: 14.22 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000219/1.017, allocations: 196 kB / 1.21 GB, free: 14.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003285/1.017, allocations: 242.4 kB / 1.21 GB, free: 13.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/1.017, allocations: 1.781 kB / 1.21 GB, free: 13.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004246/1.018, allocations: 245.3 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/1.018, allocations: 8.5 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.018, allocations: 3 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-06/1.018, allocations: 6.906 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/1.018, allocations: 47.19 kB / 1.21 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.018, allocations: 9.531 kB / 1.21 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/1.018, allocations: 32.45 kB / 1.21 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/1.018, allocations: 18.08 kB / 1.21 GB, free: 13.62 MB / 0.92 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.000102/1.018, allocations: 193.8 kB / 1.21 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/1.018, allocations: 34.94 kB / 1.21 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/1.019, allocations: 163.1 kB / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.019, allocations: 2.562 kB / 1.211 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.019, allocations: 4 kB / 1.211 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.019, allocations: 0 / 1.211 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008603/1.02, allocations: 0.608 MB / 1.211 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.02, allocations: 2.406 kB / 1.211 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.02, allocations: 26.14 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.02, allocations: 4.781 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/1.02, allocations: 1.906 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.02, allocations: 2.75 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.02, allocations: 2.812 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/1.02, allocations: 308 kB / 1.211 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/1.02, allocations: 113.8 kB / 1.212 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/1.02, allocations: 1.781 kB / 1.212 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.021, allocations: 19.95 kB / 1.212 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/1.021, allocations: 16.52 kB / 1.212 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1.021, allocations: 5.656 kB / 1.212 GB, free: 12.35 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000208/1.021, allocations: 230.4 kB / 1.212 GB, free: 12.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.021, allocations: 4 kB / 1.212 GB, free: 12.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005726/1.022, allocations: 129.9 kB / 1.212 GB, free: 12.18 MB / 0.92 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.0003477/1.022, allocations: 169.7 kB / 1.212 GB, free: 12.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005292/1.022, allocations: 245.3 kB / 1.212 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.022, allocations: 0 / 1.212 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.023, allocations: 67.08 kB / 1.212 GB, free: 11.92 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/1.023, allocations: 130 kB / 1.213 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/1.024, allocations: 0.4952 MB / 1.213 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/1.024, allocations: 0.7759 MB / 1.214 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000224/1.025, allocations: 88.95 kB / 1.214 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/1.025, allocations: 22.81 kB / 1.214 GB, free: 10.7 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/1.025, allocations: 0 / 1.214 GB, free: 10.7 MB / 0.92 GB Notification: Performance of Templates: time 0.008667/1.033, allocations: 4.856 MB / 1.219 GB, free: 8.309 MB / 0.92 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 -s gbode -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