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.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.001392/0.001392, allocations: 95.06 kB / 19.44 MB, free: 464 kB / 13.93 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.001642/0.001642, allocations: 169.2 kB / 22.75 MB, free: 1.789 MB / 18.57 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.501/1.501, allocations: 177.2 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.193/3.193, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.969e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2313/0.2313, allocations: 149.5 MB / 1.024 GB, free: 416 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.2441, allocations: 7.47 MB / 1.031 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007498/0.2448, allocations: 19.81 kB / 1.031 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2458, allocations: 222.4 kB / 1.031 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.2481, allocations: 0.6023 MB / 1.032 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.2508, allocations: 0.6966 MB / 1.032 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.2523, allocations: 0.7436 MB / 1.033 GB, free: 6.621 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.2529, allocations: 212 kB / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.2547, allocations: 0.6501 MB / 1.034 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.2552, allocations: 195.4 kB / 1.034 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.2552, allocations: 20 kB / 1.034 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.2566, allocations: 0.5804 MB / 1.035 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.2568, allocations: 119.5 kB / 1.035 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.257, allocations: 111.8 kB / 1.035 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.2584, allocations: 0.6074 MB / 1.036 GB, free: 4.133 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2584, allocations: 0 / 1.036 GB, free: 4.133 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2584, allocations: 0 / 1.036 GB, free: 4.133 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2584, allocations: 0 / 1.036 GB, free: 4.133 MB / 0.9948 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.001318/0.2597, allocations: 0.6134 MB / 1.036 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2598, allocations: 8.031 kB / 1.036 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.2603, allocations: 99.5 kB / 1.036 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.261, allocations: 295.7 kB / 1.037 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.261, allocations: 16.5 kB / 1.037 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.2611, allocations: 31.94 kB / 1.037 GB, free: 3.023 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.2617, allocations: 301.4 kB / 1.037 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2617, allocations: 0 / 1.037 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.2617, allocations: 12 kB / 1.037 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2617, allocations: 7.984 kB / 1.037 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.2622, allocations: 179.7 kB / 1.037 GB, free: 2.496 MB / 0.9948 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.002079/0.2643, allocations: 1.497 MB / 1.039 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.2645, allocations: 78.58 kB / 1.039 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.2647, allocations: 76.84 kB / 1.039 GB, free: 0.7617 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.265, allocations: 35.98 kB / 1.039 GB, free: 0.7266 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.265, allocations: 38.55 kB / 1.039 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.265, allocations: 0 / 1.039 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0007962/0.2658, allocations: 241.1 kB / 1.039 GB, free: 448 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2658, allocations: 51.41 kB / 1.039 GB, free: 384 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.2663, allocations: 308.5 kB / 1.039 GB, free: 56 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.2664, allocations: 33.69 kB / 1.039 GB, free: 16 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.2666, allocations: 212.4 kB / 1.04 GB, free: 15.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.2667, allocations: 43.62 kB / 1.04 GB, free: 15.76 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2668, allocations: 61.66 kB / 1.04 GB, free: 15.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.267, allocations: 342.8 kB / 1.04 GB, free: 15.35 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2671, allocations: 68.81 kB / 1.04 GB, free: 15.28 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.2677, allocations: 437.5 kB / 1.04 GB, free: 14.72 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.2682, allocations: 309.1 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.2682, allocations: 4 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007175/0.269, allocations: 325.1 kB / 1.041 GB, free: 14.02 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.269, allocations: 7.984 kB / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.269, allocations: 8 kB / 1.041 GB, free: 14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.269, allocations: 11.94 kB / 1.041 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.2693, allocations: 67.84 kB / 1.041 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2693, allocations: 8 kB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.2696, allocations: 44.14 kB / 1.041 GB, free: 13.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.2696, allocations: 20 kB / 1.041 GB, free: 13.85 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002999/0.2699, allocations: 176.1 kB / 1.041 GB, free: 13.68 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005326/0.2705, allocations: 449.7 kB / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005513/0.271, allocations: 305 kB / 1.042 GB, free: 12.73 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.752e-06/0.271, allocations: 4 kB / 1.042 GB, free: 12.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0006886/0.2717, allocations: 324.8 kB / 1.042 GB, free: 12.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2717, allocations: 11.94 kB / 1.042 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2717, allocations: 4.844 kB / 1.042 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2718, allocations: 8 kB / 1.042 GB, free: 12.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.272, allocations: 75.89 kB / 1.043 GB, free: 12.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.272, allocations: 19.86 kB / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2723, allocations: 31.88 kB / 1.043 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.2723, allocations: 12 kB / 1.043 GB, free: 12.24 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (32): * Single equations (assignments): 32 * 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.0001743/0.2725, allocations: 200.1 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.18e-05/0.2726, allocations: 35.81 kB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.273, allocations: 168.4 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.273, allocations: 3.938 kB / 1.043 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.273, allocations: 3.984 kB / 1.043 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.273, allocations: 288 / 1.043 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.2741, allocations: 0.539 MB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2741, allocations: 12.02 kB / 1.044 GB, free: 11.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2743, allocations: 23.98 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2743, allocations: 7.875 kB / 1.044 GB, free: 11.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2743, allocations: 8 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2743, allocations: 4 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2743, allocations: 0 / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.2748, allocations: 297.7 kB / 1.044 GB, free: 10.85 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.2749, allocations: 39.8 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.2749, allocations: 11.98 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.2751, allocations: 4 kB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.2752, allocations: 19.97 kB / 1.044 GB, free: 10.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2752, allocations: 7.938 kB / 1.044 GB, free: 10.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002659/0.2754, allocations: 207.1 kB / 1.044 GB, free: 10.57 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2754, allocations: 0 / 1.044 GB, free: 10.57 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007305/0.2762, allocations: 155.7 kB / 1.044 GB, free: 10.41 MB / 1.01 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.0003426/0.2765, allocations: 151.1 kB / 1.044 GB, free: 10.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008013/0.2773, allocations: 289.9 kB / 1.045 GB, free: 9.977 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2773, allocations: 256 / 1.045 GB, free: 9.977 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.2775, allocations: 67.83 kB / 1.045 GB, free: 9.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.2782, allocations: 101.7 kB / 1.045 GB, free: 9.812 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2792, allocations: 0.515 MB / 1.045 GB, free: 9.242 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.2795, allocations: 189.1 kB / 1.046 GB, free: 9.035 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.2798, allocations: 87.58 kB / 1.046 GB, free: 8.953 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.2799, allocations: 24.5 kB / 1.046 GB, free: 8.93 MB / 1.01 GB Notification: Performance of SimCode: time 3.6e-07/0.2799, allocations: 0 / 1.046 GB, free: 8.93 MB / 1.01 GB Notification: Performance of Templates: time 0.01091/0.2908, allocations: 4.242 MB / 1.05 GB, free: 4.805 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.971815200988203]