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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 214 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 66.8 kB / 1.119 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3778, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.219/0.5968, allocations: 173.1 MB / 1.454 GB, free: 13.43 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.607, allocations: 7.421 MB / 1.461 GB, free: 5.992 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.6077, allocations: 11.88 kB / 1.461 GB, free: 5.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008195/0.6085, allocations: 214.6 kB / 1.461 GB, free: 5.77 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.6103, allocations: 0.6145 MB / 1.462 GB, free: 5.152 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.6117, allocations: 445.8 kB / 1.462 GB, free: 4.719 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.6128, allocations: 0.7206 MB / 1.463 GB, free: 3.992 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.6132, allocations: 215.6 kB / 1.463 GB, free: 3.789 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000779/0.614, allocations: 386.5 kB / 1.463 GB, free: 3.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.6143, allocations: 235 kB / 1.464 GB, free: 3.18 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.6144, allocations: 23.94 kB / 1.464 GB, free: 3.156 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.6158, allocations: 0.7366 MB / 1.464 GB, free: 2.418 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.6159, allocations: 107.6 kB / 1.465 GB, free: 2.312 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.6161, allocations: 163.2 kB / 1.465 GB, free: 2.152 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000985/0.6171, allocations: 0.5722 MB / 1.465 GB, free: 1.578 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6171, allocations: 4 kB / 1.465 GB, free: 1.574 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6171, allocations: 0 / 1.465 GB, free: 1.574 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.6171, allocations: 0 / 1.465 GB, free: 1.574 MB / 1.154 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.001016/0.6181, allocations: 0.5706 MB / 1.466 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6181, allocations: 8.031 kB / 1.466 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.6185, allocations: 79.64 kB / 1.466 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.6191, allocations: 263.9 kB / 1.466 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.6191, allocations: 16.44 kB / 1.466 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.6191, allocations: 24 kB / 1.466 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.6197, allocations: 300.4 kB / 1.466 GB, free: 240 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6197, allocations: 7.938 kB / 1.466 GB, free: 232 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.6197, allocations: 15.88 kB / 1.466 GB, free: 216 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.6197, allocations: 8 kB / 1.466 GB, free: 208 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.6201, allocations: 175.8 kB / 1.467 GB, free: 32 kB / 1.154 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.001896/0.622, allocations: 1.652 MB / 1.468 GB, free: 14.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.6223, allocations: 86.5 kB / 1.468 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.6224, allocations: 68.86 kB / 1.468 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.6227, allocations: 43.91 kB / 1.468 GB, free: 14.06 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.6227, allocations: 30.56 kB / 1.468 GB, free: 14.02 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.6227, allocations: 4 kB / 1.468 GB, free: 14.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.0007055/0.6234, allocations: 229.3 kB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.6234, allocations: 51.41 kB / 1.469 GB, free: 13.72 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.6238, allocations: 328.4 kB / 1.469 GB, free: 13.39 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.6239, allocations: 25.7 kB / 1.469 GB, free: 13.36 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.624, allocations: 204.1 kB / 1.469 GB, free: 13.15 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.6241, allocations: 39.62 kB / 1.469 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/0.6241, allocations: 53.66 kB / 1.469 GB, free: 13.05 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6243, allocations: 338.8 kB / 1.47 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.6245, allocations: 60.81 kB / 1.47 GB, free: 12.65 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.6248, allocations: 197 kB / 1.47 GB, free: 12.4 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.6251, allocations: 237.4 kB / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6251, allocations: 0 / 1.47 GB, free: 12.12 MB / 1.17 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004916/0.6256, allocations: 261 kB / 1.47 GB, free: 11.86 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6257, allocations: 4 kB / 1.47 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6257, allocations: 4 kB / 1.47 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6257, allocations: 8 kB / 1.47 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.6259, allocations: 43.92 kB / 1.47 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6259, allocations: 11.92 kB / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.6261, allocations: 36.2 kB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.6262, allocations: 12 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002388/0.6264, allocations: 168.1 kB / 1.471 GB, free: 11.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002561/0.6267, allocations: 192 kB / 1.471 GB, free: 11.32 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003634/0.627, allocations: 237.5 kB / 1.471 GB, free: 11.04 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.627, allocations: 4 kB / 1.471 GB, free: 11.04 MB / 1.17 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004544/0.6275, allocations: 249.1 kB / 1.471 GB, free: 10.79 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6275, allocations: 11.94 kB / 1.471 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6275, allocations: 4 kB / 1.471 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.6275, allocations: 4 kB / 1.471 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.6277, allocations: 51.91 kB / 1.471 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.6277, allocations: 4 kB / 1.471 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.6279, allocations: 40.19 kB / 1.471 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.6279, allocations: 8 kB / 1.471 GB, free: 10.67 MB / 1.17 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.000168/0.6281, allocations: 200.7 kB / 1.472 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.6282, allocations: 39.62 kB / 1.472 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.6285, allocations: 164.6 kB / 1.472 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.6286, allocations: 4 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6286, allocations: 4 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6286, allocations: 4 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.6295, allocations: 0.5773 MB / 1.472 GB, free: 9.598 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.6295, allocations: 0 / 1.472 GB, free: 9.598 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.6297, allocations: 27.92 kB / 1.472 GB, free: 9.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6297, allocations: 0 / 1.472 GB, free: 9.57 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.6297, allocations: 8 kB / 1.472 GB, free: 9.562 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.6297, allocations: 7.984 kB / 1.472 GB, free: 9.555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6297, allocations: 3.938 kB / 1.472 GB, free: 9.551 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.6301, allocations: 297.4 kB / 1.473 GB, free: 9.223 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.6302, allocations: 43.8 kB / 1.473 GB, free: 9.18 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.6302, allocations: 4.188 kB / 1.473 GB, free: 9.176 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.6304, allocations: 7.984 kB / 1.473 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.6305, allocations: 27.84 kB / 1.473 GB, free: 9.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.6305, allocations: 4 kB / 1.473 GB, free: 9.137 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002462/0.6307, allocations: 227 kB / 1.473 GB, free: 8.914 MB / 1.17 GB Notification: Performance of sort global known variables: time 5e-08/0.6307, allocations: 0 / 1.473 GB, free: 8.914 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005848/0.6313, allocations: 143.7 kB / 1.473 GB, free: 8.773 MB / 1.17 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.0002958/0.6316, allocations: 147.1 kB / 1.473 GB, free: 8.621 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006025/0.6322, allocations: 245 kB / 1.474 GB, free: 8.383 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6322, allocations: 4.062 kB / 1.474 GB, free: 8.379 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.6324, allocations: 59.83 kB / 1.474 GB, free: 8.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.6331, allocations: 118.3 kB / 1.474 GB, free: 8.207 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.634, allocations: 0.5338 MB / 1.474 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.6344, allocations: 0.7756 MB / 1.475 GB, free: 6.82 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.6345, allocations: 31.42 kB / 1.475 GB, free: 6.789 MB / 1.17 GB Notification: Performance of SimCode: time 2.9e-07/0.6345, allocations: 0 / 1.475 GB, free: 6.789 MB / 1.17 GB Notification: Performance of Templates: time 0.007869/0.6424, allocations: 4.493 MB / 1.479 GB, free: 2.34 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.316117606998887]