Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009259/0.009259, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001882/0.001882, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9808/0.9822, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2181/1.2, allocations: 169.5 MB / 1.253 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01003/1.21, allocations: 7.298 MB / 1.261 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/1.211, allocations: 11.94 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009957/1.212, allocations: 218.5 kB / 1.261 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/1.214, allocations: 0.5951 MB / 1.261 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/1.216, allocations: 438.6 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00104/1.217, allocations: 0.7089 MB / 1.262 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/1.217, allocations: 271.1 kB / 1.263 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007941/1.218, allocations: 382.5 kB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/1.218, allocations: 223 kB / 1.263 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/1.219, allocations: 20 kB / 1.263 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/1.22, allocations: 0.7055 MB / 1.264 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/1.22, allocations: 115.6 kB / 1.264 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/1.22, allocations: 159.2 kB / 1.264 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00092/1.221, allocations: 0.5706 MB / 1.265 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.221, allocations: 0 / 1.265 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.92e-07/1.221, allocations: 0 / 1.265 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.221, allocations: 0 / 1.265 GB, free: 8.551 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.001036/1.222, allocations: 0.6387 MB / 1.265 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.222, allocations: 8.031 kB / 1.265 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/1.222, allocations: 71.52 kB / 1.266 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/1.223, allocations: 318 kB / 1.266 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.223, allocations: 20.44 kB / 1.266 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/1.223, allocations: 28 kB / 1.266 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/1.224, allocations: 300.6 kB / 1.266 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.224, allocations: 0 / 1.266 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/1.224, allocations: 19.94 kB / 1.266 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.224, allocations: 4 kB / 1.266 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/1.224, allocations: 175.7 kB / 1.266 GB, free: 6.855 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.001726/1.226, allocations: 1.687 MB / 1.268 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/1.226, allocations: 90.56 kB / 1.268 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/1.226, allocations: 72.86 kB / 1.268 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/1.227, allocations: 198.1 kB / 1.268 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.227, allocations: 30.56 kB / 1.268 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.227, allocations: 0 / 1.268 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007006/1.227, allocations: 225.5 kB / 1.269 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.227, allocations: 55.41 kB / 1.269 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/1.228, allocations: 320.5 kB / 1.269 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/1.228, allocations: 29.7 kB / 1.269 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.228, allocations: 195.8 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/1.228, allocations: 39.45 kB / 1.269 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/1.228, allocations: 45.7 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.228, allocations: 346.8 kB / 1.27 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/1.228, allocations: 60.83 kB / 1.27 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/1.229, allocations: 202.1 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/1.229, allocations: 233.5 kB / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.229, allocations: 0 / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004848/1.23, allocations: 260.9 kB / 1.27 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.23, allocations: 8 kB / 1.27 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.23, allocations: 7.938 kB / 1.27 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.23, allocations: 4 kB / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.23, allocations: 51.91 kB / 1.27 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.23, allocations: 4 kB / 1.27 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/1.23, allocations: 39.98 kB / 1.27 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.23, allocations: 19.94 kB / 1.27 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002169/1.23, allocations: 168.1 kB / 1.271 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002379/1.231, allocations: 194 kB / 1.271 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003562/1.231, allocations: 233.5 kB / 1.271 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/1.231, allocations: 0 / 1.271 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004321/1.231, allocations: 253.2 kB / 1.271 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/1.231, allocations: 11.94 kB / 1.271 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.231, allocations: 4 kB / 1.271 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/1.231, allocations: 4 kB / 1.271 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/1.232, allocations: 47.91 kB / 1.271 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.232, allocations: 4 kB / 1.271 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.232, allocations: 28.11 kB / 1.271 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/1.232, allocations: 23.98 kB / 1.271 GB, free: 1.266 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.0001191/1.232, allocations: 190.6 kB / 1.272 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/1.232, allocations: 35.56 kB / 1.272 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/1.232, allocations: 172.4 kB / 1.272 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.232, allocations: 3.938 kB / 1.272 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.232, allocations: 0 / 1.272 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.232, allocations: 0 / 1.272 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/1.233, allocations: 0.6095 MB / 1.272 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.233, allocations: 8 kB / 1.272 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/1.233, allocations: 19.98 kB / 1.272 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.233, allocations: 4 kB / 1.272 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.233, allocations: 4 kB / 1.272 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/1.233, allocations: 4.094 kB / 1.272 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.234, allocations: 7.938 kB / 1.272 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/1.234, allocations: 297.1 kB / 1.273 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/1.234, allocations: 116.7 kB / 1.273 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/1.234, allocations: 15.94 kB / 1.273 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/1.234, allocations: 11.98 kB / 1.273 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.234, allocations: 11.92 kB / 1.273 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/1.234, allocations: 8 kB / 1.273 GB, free: 15.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002217/1.235, allocations: 227 kB / 1.273 GB, free: 15.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.235, allocations: 0 / 1.273 GB, free: 15.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005695/1.235, allocations: 131.8 kB / 1.273 GB, free: 15.27 MB / 1.014 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.0004116/1.236, allocations: 178.6 kB / 1.273 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005525/1.236, allocations: 245.1 kB / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.236, allocations: 7.938 kB / 1.274 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/1.236, allocations: 59.89 kB / 1.274 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/1.237, allocations: 118.7 kB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/1.238, allocations: 0.5009 MB / 1.274 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/1.238, allocations: 0.7795 MB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000226/1.238, allocations: 83.55 kB / 1.275 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/1.238, allocations: 31.38 kB / 1.275 GB, free: 13.21 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/1.238, allocations: 0 / 1.275 GB, free: 13.21 MB / 1.014 GB Notification: Performance of Templates: time 0.009478/1.248, allocations: 4.907 MB / 1.28 GB, free: 8.371 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches