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.001532/0.001533, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.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.429/2.429, allocations: 390.3 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 60.09 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7215, allocations: 140.4 MB / 0.9496 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1844/0.906, allocations: 167.2 MB / 1.113 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008306/0.9144, allocations: 7.35 MB / 1.12 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.9151, allocations: 11.94 kB / 1.12 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.9159, allocations: 175 kB / 1.12 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.9176, allocations: 0.5486 MB / 1.121 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.9188, allocations: 382.5 kB / 1.121 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.92, allocations: 1.025 MB / 1.122 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.9204, allocations: 228.8 kB / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006893/0.9211, allocations: 342.6 kB / 1.123 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.9214, allocations: 227 kB / 1.123 GB, free: 204 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.9215, allocations: 16 kB / 1.123 GB, free: 188 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.9228, allocations: 0.7755 MB / 1.124 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.9229, allocations: 99.7 kB / 1.124 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.9231, allocations: 159.1 kB / 1.124 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.9237, allocations: 407.1 kB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9237, allocations: 4 kB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9237, allocations: 0 / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.9237, allocations: 0 / 1.124 GB, free: 14.75 MB / 0.8887 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.001023/0.9247, allocations: 0.6387 MB / 1.125 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9248, allocations: 12.03 kB / 1.125 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.9252, allocations: 63.53 kB / 1.125 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.9256, allocations: 306.1 kB / 1.125 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.9256, allocations: 20.44 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.9257, allocations: 24 kB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.9262, allocations: 304.5 kB / 1.126 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.9262, allocations: 0 / 1.126 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.9262, allocations: 7.938 kB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.9262, allocations: 8 kB / 1.126 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.9266, allocations: 179.7 kB / 1.126 GB, free: 13.08 MB / 0.8887 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.001681/0.9283, allocations: 1.694 MB / 1.127 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.9286, allocations: 86.56 kB / 1.128 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.9287, allocations: 80.84 kB / 1.128 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.929, allocations: 194.1 kB / 1.128 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.9291, allocations: 34.56 kB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.9291, allocations: 0 / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0007113/0.9298, allocations: 229 kB / 1.128 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.9299, allocations: 55.41 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.9302, allocations: 316.5 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.9302, allocations: 33.69 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.9304, allocations: 199.7 kB / 1.129 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.9304, allocations: 31.55 kB / 1.129 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.9305, allocations: 53.61 kB / 1.129 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9306, allocations: 342.8 kB / 1.129 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.9308, allocations: 60.67 kB / 1.129 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.931, allocations: 198.4 kB / 1.129 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.9314, allocations: 233.5 kB / 1.13 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9314, allocations: 0 / 1.13 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004553/0.9318, allocations: 260.8 kB / 1.13 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9319, allocations: 8 kB / 1.13 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.9319, allocations: 4 kB / 1.13 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9319, allocations: 4 kB / 1.13 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.9321, allocations: 47.91 kB / 1.13 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.9321, allocations: 4 kB / 1.13 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.9324, allocations: 40.14 kB / 1.13 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.9324, allocations: 19.98 kB / 1.13 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002301/0.9327, allocations: 168.1 kB / 1.13 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002251/0.9329, allocations: 190 kB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003247/0.9332, allocations: 233.6 kB / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.9332, allocations: 7.984 kB / 1.13 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.00045/0.9337, allocations: 252.8 kB / 1.131 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.9337, allocations: 11.94 kB / 1.131 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9337, allocations: 8 kB / 1.131 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.9337, allocations: 4 kB / 1.131 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.9339, allocations: 47.86 kB / 1.131 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9339, allocations: 8.391 kB / 1.131 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.9342, allocations: 35.83 kB / 1.131 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.9342, allocations: 12 kB / 1.131 GB, free: 7.469 MB / 0.8887 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.0001164/0.9343, allocations: 192.2 kB / 1.131 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.9344, allocations: 35.56 kB / 1.131 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.9348, allocations: 168.3 kB / 1.131 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9348, allocations: 4 kB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9348, allocations: 0 / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9348, allocations: 0 / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.9357, allocations: 0.6093 MB / 1.132 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.9357, allocations: 4 kB / 1.132 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.9358, allocations: 19.98 kB / 1.132 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9358, allocations: 4 kB / 1.132 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.9359, allocations: 7.938 kB / 1.132 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.9359, allocations: 7.922 kB / 1.132 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9359, allocations: 11.88 kB / 1.132 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.9363, allocations: 301.3 kB / 1.132 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.9364, allocations: 108.8 kB / 1.132 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.9364, allocations: 7.984 kB / 1.132 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.9366, allocations: 19.89 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.9367, allocations: 16.11 kB / 1.132 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.9367, allocations: 8 kB / 1.132 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002258/0.9369, allocations: 223.1 kB / 1.133 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9369, allocations: 0 / 1.133 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005868/0.9375, allocations: 135.8 kB / 1.133 GB, free: 5.469 MB / 0.8887 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.0004611/0.938, allocations: 168 kB / 1.133 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005563/0.9386, allocations: 243.7 kB / 1.133 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9386, allocations: 0 / 1.133 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.9387, allocations: 69.64 kB / 1.133 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.9397, allocations: 139.5 kB / 1.133 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.9405, allocations: 0.606 MB / 1.134 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.9409, allocations: 0.7797 MB / 1.135 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.941, allocations: 27.44 kB / 1.135 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.941, allocations: 0 / 1.135 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of Templates: time 0.008257/0.9492, allocations: 4.494 MB / 1.139 GB, free: 14.91 MB / 0.9044 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/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