Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001129/0.001129, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001962/0.003091, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00109/0.00109, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002536, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9775/0.9775, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0911/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.826/1.826, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4969/2.323, allocations: 123.3 MB / 0.728 GB, free: 5.859 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.262e-05, allocations: 3.078 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003128/0.003151, allocations: 1.771 MB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.005229, allocations: 1.446 MB / 0.7325 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.005319, allocations: 4 kB / 0.7325 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.005494, allocations: 26.62 kB / 0.7325 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.00586, allocations: 115.3 kB / 0.7326 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.006248, allocations: 144.1 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.006622, allocations: 262.8 kB / 0.733 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.006734, allocations: 18.23 kB / 0.733 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0297/0.03644, allocations: 10.51 MB / 0.7433 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.03658, allocations: 71.84 kB / 0.7434 GB, free: 10 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.03661, allocations: 19.94 kB / 0.7434 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.03676, allocations: 59.92 kB / 0.7434 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.03683, allocations: 63.86 kB / 0.7435 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.0369, allocations: 51.81 kB / 0.7436 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.03722, allocations: 215.1 kB / 0.7438 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.101e-05/0.03724, allocations: 4 kB / 0.7438 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.03724, allocations: 3.156 kB / 0.7438 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.03726, allocations: 4 kB / 0.7438 GB, free: 9.59 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006202/0.03788, allocations: 0.4885 MB / 0.7442 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.03792, allocations: 8.031 kB / 0.7443 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.03797, allocations: 32.91 kB / 0.7443 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.0382, allocations: 240.7 kB / 0.7445 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.03822, allocations: 16.7 kB / 0.7445 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.03824, allocations: 16.38 kB / 0.7445 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.03843, allocations: 254 kB / 0.7448 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.03844, allocations: 192 / 0.7448 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.03845, allocations: 12.72 kB / 0.7448 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.03846, allocations: 4 kB / 0.7448 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.03884, allocations: 491.9 kB / 0.7453 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.03938, allocations: 336.2 kB / 0.7456 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.03953, allocations: 113.3 kB / 0.7457 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.03957, allocations: 50.05 kB / 0.7457 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.03961, allocations: 20.27 kB / 0.7458 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.03977, allocations: 148.1 kB / 0.7459 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=34): time 1.472e-06/0.03977, allocations: 0 / 0.7459 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34): time 0.0002211/0.04, allocations: 171.7 kB / 0.7461 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.04003, allocations: 55.41 kB / 0.7461 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.04015, allocations: 209 kB / 0.7463 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.04017, allocations: 34.73 kB / 0.7464 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.0402, allocations: 101.2 kB / 0.7465 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.04026, allocations: 123.9 kB / 0.7466 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.04032, allocations: 53.67 kB / 0.7466 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.04039, allocations: 338.8 kB / 0.7469 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.04043, allocations: 32.66 kB / 0.747 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.0405, allocations: 119.9 kB / 0.7471 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.0406, allocations: 101.5 kB / 0.7472 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.0406, allocations: 0 / 0.7472 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001377/0.04074, allocations: 154.3 kB / 0.7473 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.04075, allocations: 4 kB / 0.7473 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.04075, allocations: 0 / 0.7473 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.04076, allocations: 5.062 kB / 0.7473 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.04091, allocations: 67.89 kB / 0.7474 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.04091, allocations: 1.031 kB / 0.7474 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.04097, allocations: 27.84 kB / 0.7474 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.04098, allocations: 7.984 kB / 0.7474 GB, free: 5.625 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 7.602e-05/0.04106, allocations: 129.5 kB / 0.7476 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.04109, allocations: 37.03 kB / 0.7476 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.04132, allocations: 216.9 kB / 0.7478 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.04132, allocations: 5.125 kB / 0.7478 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.04132, allocations: 0 / 0.7478 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.04133, allocations: 3.984 kB / 0.7478 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.04145, allocations: 159.1 kB / 0.748 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.04145, allocations: 4 kB / 0.748 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.04156, allocations: 63.89 kB / 0.748 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.04161, allocations: 63.58 kB / 0.7481 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.04162, allocations: 1.531 kB / 0.7481 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.04163, allocations: 8 kB / 0.7481 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.04163, allocations: 3.938 kB / 0.7481 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.04163, allocations: 0 / 0.7481 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.04176, allocations: 175.6 kB / 0.7483 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.04179, allocations: 11.94 kB / 0.7483 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.04184, allocations: 11.98 kB / 0.7483 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.04187, allocations: 23.95 kB / 0.7483 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.04188, allocations: 4.5 kB / 0.7483 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.04193, allocations: 76.42 kB / 0.7484 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.04193, allocations: 0 / 0.7484 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001408/0.04207, allocations: 48 kB / 0.7484 GB, free: 4.559 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0011/0.04317, allocations: 494.7 kB / 0.7489 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.04332, allocations: 116.8 kB / 0.749 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.04333, allocations: 4 kB / 0.749 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.0434, allocations: 81.95 kB / 0.7491 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.04353, allocations: 58.08 kB / 0.7492 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.04467, allocations: 427 kB / 0.7496 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.04472, allocations: 94.05 kB / 0.7497 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.04484, allocations: 70.66 kB / 0.7497 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.04497, allocations: 121 kB / 0.7498 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.04497, allocations: 1.25 kB / 0.7498 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of Templates: time 0.004644/0.04961, allocations: 3.247 MB / 0.753 GB, free: 160 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.130637883208692]