Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001935/0.001935, allocations: 83.97 kB / 19.18 MB, free: 2.523 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.002304/0.002304, allocations: 164.2 kB / 22.46 MB, free: 5.355 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.972/2.972, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.819e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2371/0.2371, allocations: 149.5 MB / 1.127 GB, free: 5.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.8386/1.076, allocations: 6.647 MB / 1.134 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008849/1.077, allocations: 18.28 kB / 1.134 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/1.078, allocations: 216.5 kB / 1.134 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/1.079, allocations: 0.5979 MB / 1.135 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/1.081, allocations: 468.7 kB / 1.135 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009761/1.082, allocations: 0.714 MB / 1.136 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/1.082, allocations: 206.9 kB / 1.136 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/1.083, allocations: 0.6397 MB / 1.137 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/1.084, allocations: 192.2 kB / 1.137 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/1.084, allocations: 17.94 kB / 1.137 GB, free: 45.35 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/1.085, allocations: 0.5762 MB / 1.137 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/1.085, allocations: 114.1 kB / 1.138 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/1.085, allocations: 104.9 kB / 1.138 GB, free: 45.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008757/1.086, allocations: 0.5905 MB / 1.138 GB, free: 45.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.086, allocations: 0 / 1.138 GB, free: 45.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/1.086, allocations: 0 / 1.138 GB, free: 45.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.086, allocations: 0 / 1.138 GB, free: 45.3 MB / 1.076 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.0009359/1.087, allocations: 0.577 MB / 1.139 GB, free: 44.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.087, allocations: 12.03 kB / 1.139 GB, free: 44.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/1.087, allocations: 64.03 kB / 1.139 GB, free: 44.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/1.088, allocations: 261.1 kB / 1.139 GB, free: 44.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/1.088, allocations: 23.23 kB / 1.139 GB, free: 44.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/1.088, allocations: 20.12 kB / 1.139 GB, free: 44.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/1.088, allocations: 306.6 kB / 1.139 GB, free: 44.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.088, allocations: 0.875 kB / 1.139 GB, free: 44.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/1.088, allocations: 9.469 kB / 1.139 GB, free: 44.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.088, allocations: 7.719 kB / 1.139 GB, free: 44.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/1.089, allocations: 183.6 kB / 1.14 GB, free: 44.6 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/1.09, allocations: 1.466 MB / 1.141 GB, free: 43.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/1.09, allocations: 84.61 kB / 1.141 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/1.09, allocations: 76.64 kB / 1.141 GB, free: 43.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/1.091, allocations: 32.95 kB / 1.141 GB, free: 43.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/1.091, allocations: 34.88 kB / 1.141 GB, free: 43.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/1.091, allocations: 0 / 1.141 GB, free: 43.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.000672/1.091, allocations: 224 kB / 1.142 GB, free: 43.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/1.091, allocations: 52.25 kB / 1.142 GB, free: 43.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/1.092, allocations: 286.2 kB / 1.142 GB, free: 43.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.092, allocations: 29.23 kB / 1.142 GB, free: 43.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.092, allocations: 201.1 kB / 1.142 GB, free: 43.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/1.092, allocations: 36.94 kB / 1.142 GB, free: 43.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/1.092, allocations: 52.95 kB / 1.142 GB, free: 43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/1.092, allocations: 344.4 kB / 1.142 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/1.092, allocations: 57.39 kB / 1.143 GB, free: 42.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/1.092, allocations: 381.7 kB / 1.143 GB, free: 42.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/1.093, allocations: 238.1 kB / 1.143 GB, free: 42.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.093, allocations: 3.875 kB / 1.143 GB, free: 42.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004202/1.093, allocations: 246.1 kB / 1.143 GB, free: 42.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.093, allocations: 9.594 kB / 1.143 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.093, allocations: 6.031 kB / 1.143 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.093, allocations: 6.719 kB / 1.143 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.093, allocations: 45.2 kB / 1.143 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/1.093, allocations: 6.812 kB / 1.143 GB, free: 42.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/1.094, allocations: 34.75 kB / 1.143 GB, free: 42.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.094, allocations: 19.33 kB / 1.143 GB, free: 42.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002015/1.094, allocations: 170.3 kB / 1.144 GB, free: 42.03 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002258/1.094, allocations: 373.4 kB / 1.144 GB, free: 41.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003074/1.094, allocations: 232.7 kB / 1.144 GB, free: 41.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/1.094, allocations: 0 / 1.144 GB, free: 41.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004082/1.095, allocations: 244.5 kB / 1.144 GB, free: 41.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/1.095, allocations: 8.375 kB / 1.144 GB, free: 41.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.095, allocations: 6.188 kB / 1.144 GB, free: 41.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/1.095, allocations: 7.906 kB / 1.144 GB, free: 41.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/1.095, allocations: 47.03 kB / 1.145 GB, free: 41.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.095, allocations: 11.84 kB / 1.145 GB, free: 41.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/1.095, allocations: 25.08 kB / 1.145 GB, free: 41.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.095, allocations: 9.188 kB / 1.145 GB, free: 41.48 MB / 1.076 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 9.158e-05/1.095, allocations: 206.9 kB / 1.145 GB, free: 41.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/1.095, allocations: 27.31 kB / 1.145 GB, free: 41.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/1.096, allocations: 164.4 kB / 1.145 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.096, allocations: 0.9375 kB / 1.145 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.096, allocations: 2.719 kB / 1.145 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.096, allocations: 0 / 1.145 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/1.096, allocations: 0.5314 MB / 1.145 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.096, allocations: 2.875 kB / 1.145 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/1.096, allocations: 31.92 kB / 1.146 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.096, allocations: 3.844 kB / 1.146 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/1.097, allocations: 10.25 kB / 1.146 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.097, allocations: 6.344 kB / 1.146 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.097, allocations: 4.25 kB / 1.146 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/1.097, allocations: 295.1 kB / 1.146 GB, free: 40.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/1.097, allocations: 34.27 kB / 1.146 GB, free: 40.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/1.097, allocations: 13.91 kB / 1.146 GB, free: 40.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/1.097, allocations: 12.5 kB / 1.146 GB, free: 40.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/1.097, allocations: 15.66 kB / 1.146 GB, free: 40.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/1.097, allocations: 2.938 kB / 1.146 GB, free: 40.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001403/1.097, allocations: 196.6 kB / 1.146 GB, free: 40.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.097, allocations: 0 / 1.146 GB, free: 40.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005663/1.098, allocations: 147 kB / 1.146 GB, free: 40.62 MB / 1.076 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.0003114/1.098, allocations: 153.3 kB / 1.146 GB, free: 40.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005347/1.099, allocations: 250.5 kB / 1.147 GB, free: 40.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.099, allocations: 0.875 kB / 1.147 GB, free: 40.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/1.099, allocations: 64.33 kB / 1.147 GB, free: 40.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/1.1, allocations: 93.06 kB / 1.147 GB, free: 40.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/1.1, allocations: 495.2 kB / 1.147 GB, free: 40.22 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/1.1, allocations: 170.5 kB / 1.147 GB, free: 40.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002005/1.101, allocations: 80.77 kB / 1.147 GB, free: 40.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/1.101, allocations: 27.5 kB / 1.147 GB, free: 40.14 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/1.101, allocations: 0 / 1.147 GB, free: 40.14 MB / 1.076 GB Notification: Performance of Templates: time 0.008581/1.109, allocations: 4.132 MB / 1.152 GB, free: 39.91 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.94604940712452]