Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00551/0.00551, allocations: 98.95 kB / 15.73 MB, free: 6.043 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.001114/0.001114, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3554, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.928/1.283, allocations: 169.9 MB / 1.387 GB, free: 1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009989/1.293, allocations: 7.338 MB / 1.394 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008261/1.294, allocations: 12.19 kB / 1.394 GB, free: 11.06 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009055/1.295, allocations: 219.9 kB / 1.394 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/1.297, allocations: 0.5938 MB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/1.299, allocations: 435.1 kB / 1.395 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001163/1.3, allocations: 0.7053 MB / 1.396 GB, free: 9.719 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/1.3, allocations: 230.9 kB / 1.396 GB, free: 9.574 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000913/1.301, allocations: 387.4 kB / 1.396 GB, free: 9.344 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/1.301, allocations: 217.2 kB / 1.396 GB, free: 9.219 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/1.301, allocations: 19.72 kB / 1.396 GB, free: 9.219 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/1.303, allocations: 0.7068 MB / 1.397 GB, free: 8.816 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/1.303, allocations: 114.1 kB / 1.397 GB, free: 8.738 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/1.303, allocations: 151.4 kB / 1.397 GB, free: 8.648 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009302/1.304, allocations: 0.5746 MB / 1.398 GB, free: 8.293 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.304, allocations: 3.984 kB / 1.398 GB, free: 8.289 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.212e-06/1.304, allocations: 0 / 1.398 GB, free: 8.289 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.304, allocations: 4 kB / 1.398 GB, free: 8.285 MB / 1.092 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.000988/1.305, allocations: 0.6506 MB / 1.399 GB, free: 7.699 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.305, allocations: 8.781 kB / 1.399 GB, free: 7.699 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/1.306, allocations: 81.14 kB / 1.399 GB, free: 7.652 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/1.306, allocations: 320.6 kB / 1.399 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/1.306, allocations: 18.09 kB / 1.399 GB, free: 7.344 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/1.306, allocations: 24.19 kB / 1.399 GB, free: 7.336 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/1.307, allocations: 297 kB / 1.399 GB, free: 7.102 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.307, allocations: 0 / 1.399 GB, free: 7.102 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/1.307, allocations: 15.97 kB / 1.399 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.307, allocations: 4.781 kB / 1.399 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/1.307, allocations: 180.9 kB / 1.399 GB, free: 7.004 MB / 1.092 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.001862/1.309, allocations: 1.698 MB / 1.401 GB, free: 5.395 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.309, allocations: 88.89 kB / 1.401 GB, free: 5.34 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/1.309, allocations: 75.08 kB / 1.401 GB, free: 5.301 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/1.31, allocations: 188.8 kB / 1.401 GB, free: 5.102 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.31, allocations: 39.69 kB / 1.402 GB, free: 5.055 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/1.31, allocations: 0 / 1.402 GB, free: 5.055 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.0007221/1.311, allocations: 218.8 kB / 1.402 GB, free: 4.941 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.311, allocations: 52.53 kB / 1.402 GB, free: 4.879 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/1.311, allocations: 330.2 kB / 1.402 GB, free: 4.66 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/1.311, allocations: 27.08 kB / 1.402 GB, free: 4.629 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.311, allocations: 198 kB / 1.402 GB, free: 4.449 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/1.311, allocations: 49.73 kB / 1.402 GB, free: 4.406 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/1.311, allocations: 44.34 kB / 1.402 GB, free: 4.375 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.312, allocations: 346.1 kB / 1.403 GB, free: 4.035 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/1.312, allocations: 63.19 kB / 1.403 GB, free: 4 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/1.312, allocations: 199.8 kB / 1.403 GB, free: 3.797 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/1.312, allocations: 234.4 kB / 1.403 GB, free: 3.59 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.312, allocations: 1 kB / 1.403 GB, free: 3.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004967/1.313, allocations: 253.8 kB / 1.403 GB, free: 3.449 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.313, allocations: 12.22 kB / 1.403 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.313, allocations: 4 kB / 1.403 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.313, allocations: 6.031 kB / 1.403 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/1.313, allocations: 49.75 kB / 1.404 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.313, allocations: 5.281 kB / 1.404 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/1.313, allocations: 34.98 kB / 1.404 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/1.313, allocations: 10.91 kB / 1.404 GB, free: 3.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003471/1.314, allocations: 176.4 kB / 1.404 GB, free: 3.277 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002646/1.314, allocations: 196.2 kB / 1.404 GB, free: 3.074 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003684/1.314, allocations: 236.8 kB / 1.404 GB, free: 2.863 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/1.314, allocations: 1.156 kB / 1.404 GB, free: 2.863 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004888/1.315, allocations: 241.2 kB / 1.404 GB, free: 2.734 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.315, allocations: 14.78 kB / 1.404 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.315, allocations: 4.031 kB / 1.404 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/1.315, allocations: 4.5 kB / 1.404 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/1.315, allocations: 52.12 kB / 1.404 GB, free: 2.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.315, allocations: 4.5 kB / 1.404 GB, free: 2.711 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/1.315, allocations: 33.02 kB / 1.404 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/1.315, allocations: 14.25 kB / 1.404 GB, free: 2.688 MB / 1.092 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.0001332/1.316, allocations: 198.7 kB / 1.405 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/1.316, allocations: 32.5 kB / 1.405 GB, free: 2.473 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/1.316, allocations: 172.8 kB / 1.405 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.316, allocations: 2.344 kB / 1.405 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.316, allocations: 1.188 kB / 1.405 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.316, allocations: 0 / 1.405 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000965/1.317, allocations: 0.6089 MB / 1.405 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.317, allocations: 2.406 kB / 1.405 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.317, allocations: 26.75 kB / 1.406 GB, free: 1.809 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/1.317, allocations: 10.3 kB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.317, allocations: 3.281 kB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/1.317, allocations: 2.312 kB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.317, allocations: 3.094 kB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/1.318, allocations: 310.9 kB / 1.406 GB, free: 1.531 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/1.318, allocations: 114 kB / 1.406 GB, free: 1.414 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/1.318, allocations: 6.406 kB / 1.406 GB, free: 1.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/1.318, allocations: 11.2 kB / 1.406 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/1.318, allocations: 21.36 kB / 1.406 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/1.318, allocations: 8.125 kB / 1.406 GB, free: 1.387 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00023/1.318, allocations: 226.7 kB / 1.406 GB, free: 1.242 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.318, allocations: 0 / 1.406 GB, free: 1.242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006403/1.319, allocations: 134.5 kB / 1.406 GB, free: 1.219 MB / 1.092 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.0004768/1.319, allocations: 167.7 kB / 1.406 GB, free: 1.098 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005902/1.32, allocations: 234.8 kB / 1.407 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.32, allocations: 1.156 kB / 1.407 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.32, allocations: 66.3 kB / 1.407 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/1.321, allocations: 127.2 kB / 1.407 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/1.322, allocations: 0.5076 MB / 1.407 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.322, allocations: 0.7778 MB / 1.408 GB, free: 15.78 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002452/1.322, allocations: 81.52 kB / 1.408 GB, free: 15.74 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/1.323, allocations: 23.94 kB / 1.408 GB, free: 15.73 MB / 1.107 GB Notification: Performance of SimCode: time 7.82e-07/1.323, allocations: 1.375 kB / 1.408 GB, free: 15.73 MB / 1.107 GB Notification: Performance of Templates: time 0.009932/1.332, allocations: 4.941 MB / 1.413 GB, free: 13.29 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches