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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001626/0.001626, allocations: 103 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.001419/0.001419, allocations: 191.2 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 64.77 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.751/1.063, allocations: 169.5 MB / 1.117 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008858/1.072, allocations: 7.316 MB / 1.124 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.073, allocations: 13.72 kB / 1.124 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009502/1.074, allocations: 210.2 kB / 1.124 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/1.076, allocations: 0.5726 MB / 1.125 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/1.077, allocations: 440.1 kB / 1.125 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00107/1.078, allocations: 0.7061 MB / 1.126 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/1.079, allocations: 268.8 kB / 1.126 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/1.079, allocations: 383.7 kB / 1.126 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/1.08, allocations: 214.2 kB / 1.126 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/1.08, allocations: 19.06 kB / 1.126 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.081, allocations: 0.7017 MB / 1.127 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/1.081, allocations: 102.2 kB / 1.127 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/1.081, allocations: 163.1 kB / 1.127 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/1.083, allocations: 0.5688 MB / 1.128 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.083, allocations: 0 / 1.128 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.083, allocations: 4 kB / 1.128 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.083, allocations: 0 / 1.128 GB, free: 4.984 MB / 0.8575 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.001143/1.084, allocations: 0.6404 MB / 1.129 GB, free: 20.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.084, allocations: 10.31 kB / 1.129 GB, free: 20.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/1.084, allocations: 64.69 kB / 1.129 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/1.085, allocations: 322 kB / 1.129 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.085, allocations: 18.31 kB / 1.129 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/1.085, allocations: 21.66 kB / 1.129 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/1.085, allocations: 296.7 kB / 1.129 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.085, allocations: 5.047 kB / 1.129 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/1.085, allocations: 13.41 kB / 1.129 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.085, allocations: 6.859 kB / 1.129 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/1.086, allocations: 177.7 kB / 1.129 GB, free: 20.11 MB / 0.8731 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.001628/1.087, allocations: 1.699 MB / 1.131 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/1.088, allocations: 90.12 kB / 1.131 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/1.088, allocations: 75.78 kB / 1.131 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/1.088, allocations: 194 kB / 1.131 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.088, allocations: 41.56 kB / 1.132 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/1.088, allocations: 1.344 kB / 1.132 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0007159/1.089, allocations: 221.6 kB / 1.132 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/1.089, allocations: 52.66 kB / 1.132 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/1.089, allocations: 322.9 kB / 1.132 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.089, allocations: 30.67 kB / 1.132 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/1.089, allocations: 200.8 kB / 1.132 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/1.089, allocations: 35.25 kB / 1.132 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/1.09, allocations: 51.41 kB / 1.132 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.09, allocations: 336.1 kB / 1.133 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/1.09, allocations: 67.88 kB / 1.133 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/1.09, allocations: 196.5 kB / 1.133 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/1.091, allocations: 233.5 kB / 1.133 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.091, allocations: 1.719 kB / 1.133 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000562/1.091, allocations: 255.4 kB / 1.133 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.091, allocations: 8.109 kB / 1.133 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.091, allocations: 4.438 kB / 1.133 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.091, allocations: 6.25 kB / 1.133 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.091, allocations: 48.17 kB / 1.134 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.091, allocations: 10.25 kB / 1.134 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.092, allocations: 36.2 kB / 1.134 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/1.092, allocations: 9.844 kB / 1.134 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002251/1.092, allocations: 178.1 kB / 1.134 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002006/1.092, allocations: 188.9 kB / 1.134 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003083/1.092, allocations: 239.1 kB / 1.134 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.093, allocations: 1.188 kB / 1.134 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004434/1.093, allocations: 249 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.093, allocations: 15.16 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.093, allocations: 6 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/1.093, allocations: 5.938 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.093, allocations: 43.28 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.093, allocations: 8.75 kB / 1.134 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/1.093, allocations: 28.41 kB / 1.134 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/1.093, allocations: 14.92 kB / 1.134 GB, free: 16.99 MB / 0.8731 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.0001215/1.094, allocations: 199.1 kB / 1.135 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/1.094, allocations: 33.42 kB / 1.135 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/1.094, allocations: 165.1 kB / 1.135 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.094, allocations: 3.469 kB / 1.135 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.094, allocations: 1.203 kB / 1.135 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.094, allocations: 2.344 kB / 1.135 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/1.095, allocations: 0.606 MB / 1.135 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.095, allocations: 1.375 kB / 1.135 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.095, allocations: 35.94 kB / 1.136 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.095, allocations: 2.656 kB / 1.136 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.095, allocations: 7.75 kB / 1.136 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.095, allocations: 6.375 kB / 1.136 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.095, allocations: 2.625 kB / 1.136 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/1.096, allocations: 302.8 kB / 1.136 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.096, allocations: 111.2 kB / 1.136 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/1.096, allocations: 2.312 kB / 1.136 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.096, allocations: 20.52 kB / 1.136 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/1.096, allocations: 16.84 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.096, allocations: 3.812 kB / 1.136 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002388/1.096, allocations: 228.9 kB / 1.136 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.096, allocations: 0 / 1.136 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006499/1.097, allocations: 132 kB / 1.136 GB, free: 15.96 MB / 0.8731 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.0004228/1.097, allocations: 173.1 kB / 1.136 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006029/1.098, allocations: 244.7 kB / 1.137 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.098, allocations: 384 / 1.137 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/1.098, allocations: 68.64 kB / 1.137 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/1.099, allocations: 130.6 kB / 1.137 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/1.1, allocations: 0.4955 MB / 1.137 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/1.1, allocations: 0.777 MB / 1.138 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002399/1.1, allocations: 86.17 kB / 1.138 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/1.1, allocations: 24.81 kB / 1.138 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/1.1, allocations: 4 kB / 1.138 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.009796/1.11, allocations: 4.86 MB / 1.143 GB, free: 14.5 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches