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.001701/0.0017, allocations: 99.44 kB / 16.35 MB, free: 6.285 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.002103/0.002103, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.437/1.437, 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.472/2.472, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.16 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3807, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8241/1.205, allocations: 169.5 MB / 1.192 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01031/1.215, allocations: 7.307 MB / 1.199 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009113/1.216, allocations: 11.28 kB / 1.199 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009377/1.217, allocations: 210 kB / 1.2 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/1.219, allocations: 0.5776 MB / 1.2 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/1.221, allocations: 433.1 kB / 1.201 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001351/1.222, allocations: 0.7081 MB / 1.201 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/1.223, allocations: 279.6 kB / 1.201 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/1.224, allocations: 379.6 kB / 1.202 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/1.224, allocations: 215.9 kB / 1.202 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/1.224, allocations: 20.34 kB / 1.202 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/1.226, allocations: 0.7023 MB / 1.203 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/1.226, allocations: 105.7 kB / 1.203 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/1.226, allocations: 163.6 kB / 1.203 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/1.227, allocations: 0.5643 MB / 1.204 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.227, allocations: 4 kB / 1.204 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.064e-06/1.227, allocations: 0 / 1.204 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.227, allocations: 0 / 1.204 GB, free: 3.211 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.001164/1.228, allocations: 0.6407 MB / 1.204 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.229, allocations: 7.75 kB / 1.204 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/1.229, allocations: 61.78 kB / 1.204 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/1.23, allocations: 325.5 kB / 1.205 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.23, allocations: 18.38 kB / 1.205 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/1.23, allocations: 24.12 kB / 1.205 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/1.23, allocations: 303.9 kB / 1.205 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.23, allocations: 0 / 1.205 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/1.23, allocations: 14.75 kB / 1.205 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/1.23, allocations: 5.281 kB / 1.205 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/1.231, allocations: 177.2 kB / 1.205 GB, free: 1.961 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.002209/1.233, allocations: 1.69 MB / 1.207 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/1.233, allocations: 96.52 kB / 1.207 GB, free: 296 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/1.233, allocations: 79.44 kB / 1.207 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/1.234, allocations: 187.1 kB / 1.207 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/1.234, allocations: 37.03 kB / 1.207 GB, free: 8 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/1.234, allocations: 0 / 1.207 GB, free: 8 kB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.000783/1.235, allocations: 231.2 kB / 1.207 GB, free: 15.88 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.235, allocations: 55.41 kB / 1.207 GB, free: 15.81 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/1.235, allocations: 322.7 kB / 1.208 GB, free: 15.6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/1.235, allocations: 28.48 kB / 1.208 GB, free: 15.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/1.235, allocations: 192.8 kB / 1.208 GB, free: 15.39 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/1.235, allocations: 45.14 kB / 1.208 GB, free: 15.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.733e-05/1.235, allocations: 45.61 kB / 1.208 GB, free: 15.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.236, allocations: 335.7 kB / 1.208 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.236, allocations: 67.25 kB / 1.208 GB, free: 14.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/1.236, allocations: 192.7 kB / 1.209 GB, free: 14.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/1.237, allocations: 234.1 kB / 1.209 GB, free: 14.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.237, allocations: 1.969 kB / 1.209 GB, free: 14.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004717/1.237, allocations: 255.7 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.237, allocations: 12.03 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.237, allocations: 2.625 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.237, allocations: 4.656 kB / 1.209 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/1.237, allocations: 52.56 kB / 1.209 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.237, allocations: 4.938 kB / 1.209 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/1.238, allocations: 42.44 kB / 1.209 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/1.238, allocations: 12.34 kB / 1.209 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002469/1.238, allocations: 173.1 kB / 1.209 GB, free: 14.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/1.238, allocations: 199.3 kB / 1.21 GB, free: 14.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003276/1.238, allocations: 237.8 kB / 1.21 GB, free: 13.81 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/1.238, allocations: 2.719 kB / 1.21 GB, free: 13.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004252/1.239, allocations: 246.2 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.239, allocations: 11.78 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.239, allocations: 2.906 kB / 1.21 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/1.239, allocations: 11.34 kB / 1.21 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/1.239, allocations: 43.03 kB / 1.21 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.239, allocations: 6.438 kB / 1.21 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/1.239, allocations: 30.36 kB / 1.21 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/1.239, allocations: 15.88 kB / 1.21 GB, free: 13.63 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.0001401/1.24, allocations: 197.7 kB / 1.21 GB, free: 13.44 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/1.24, allocations: 32.47 kB / 1.21 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/1.24, allocations: 165.1 kB / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/1.24, allocations: 6.234 kB / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.24, allocations: 0 / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.24, allocations: 0 / 1.21 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/1.241, allocations: 0.6087 MB / 1.211 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.241, allocations: 1.844 kB / 1.211 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.241, allocations: 29.02 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.241, allocations: 2.688 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.241, allocations: 2.906 kB / 1.211 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/1.241, allocations: 10.8 kB / 1.211 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.241, allocations: 2.562 kB / 1.211 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/1.242, allocations: 301.8 kB / 1.211 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/1.242, allocations: 108.9 kB / 1.212 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/1.242, allocations: 11.17 kB / 1.212 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/1.242, allocations: 15.44 kB / 1.212 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/1.242, allocations: 12.55 kB / 1.212 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.242, allocations: 9.281 kB / 1.212 GB, free: 12.35 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002415/1.242, allocations: 226.5 kB / 1.212 GB, free: 12.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.41e-07/1.242, allocations: 0 / 1.212 GB, free: 12.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005914/1.243, allocations: 130.3 kB / 1.212 GB, free: 12.19 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.0004675/1.243, allocations: 188.5 kB / 1.212 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005521/1.244, allocations: 237 kB / 1.212 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.244, allocations: 4.062 kB / 1.212 GB, free: 11.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/1.244, allocations: 62.91 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.0007162/1.245, allocations: 124.3 kB / 1.212 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/1.246, allocations: 0.4973 MB / 1.213 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/1.246, allocations: 0.7723 MB / 1.214 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002393/1.246, allocations: 92.67 kB / 1.214 GB, free: 10.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/1.246, allocations: 26.56 kB / 1.214 GB, free: 10.69 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/1.246, allocations: 0 / 1.214 GB, free: 10.69 MB / 0.92 GB Notification: Performance of Templates: time 0.01002/1.256, allocations: 4.871 MB / 1.219 GB, free: 8.293 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 cvode -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