Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001921/0.001921, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002302/0.002302, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.725/1.725, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.714/2.714, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.801e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003357/0.003385, allocations: 1.689 MB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.005825, allocations: 1.392 MB / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.005883, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.006111, allocations: 27.78 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.006524, allocations: 108.7 kB / 0.7895 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.006931, allocations: 148.5 kB / 0.7897 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.007323, allocations: 270.3 kB / 0.7899 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.007423, allocations: 17.58 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.007609, allocations: 123.8 kB / 0.7901 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.00782, allocations: 89.19 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.007864, allocations: 16 kB / 0.7902 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.008093, allocations: 119.8 kB / 0.7903 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.00823, allocations: 90.73 kB / 0.7904 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.008343, allocations: 71.75 kB / 0.7904 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.008895, allocations: 370.7 kB / 0.7908 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.008899, allocations: 0 / 0.7908 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.0089, allocations: 0 / 0.7908 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.008905, allocations: 0 / 0.7908 GB, free: 8.309 MB / 0.7448 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.001012/0.009918, allocations: 0.4901 MB / 0.7913 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.009961, allocations: 13.25 kB / 0.7913 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.01011, allocations: 44.75 kB / 0.7913 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.01048, allocations: 220.7 kB / 0.7915 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.01051, allocations: 12.7 kB / 0.7915 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.01055, allocations: 16.97 kB / 0.7916 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.01111, allocations: 340.3 kB / 0.7919 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01112, allocations: 192 / 0.7919 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.01115, allocations: 8.125 kB / 0.7919 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.01116, allocations: 4.562 kB / 0.7919 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.0122, allocations: 0.6907 MB / 0.7926 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01335, allocations: 0.4942 MB / 0.7931 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.01379, allocations: 212.8 kB / 0.7933 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.01397, allocations: 94.91 kB / 0.7933 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.01404, allocations: 16.27 kB / 0.7934 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.01448, allocations: 199.2 kB / 0.7936 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.01448, allocations: 0 / 0.7936 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0008201/0.0153, allocations: 385 kB / 0.7939 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.01542, allocations: 140.5 kB / 0.7941 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.01581, allocations: 313.7 kB / 0.7944 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.01585, allocations: 33.7 kB / 0.7944 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01599, allocations: 136.7 kB / 0.7945 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.01611, allocations: 119 kB / 0.7946 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.01622, allocations: 62.22 kB / 0.7947 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.01642, allocations: 343.5 kB / 0.795 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.01659, allocations: 79.95 kB / 0.7951 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.01688, allocations: 213.8 kB / 0.7953 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.0174, allocations: 215 kB / 0.7955 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01741, allocations: 1.594 kB / 0.7955 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005568/0.01796, allocations: 297.2 kB / 0.7958 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.01798, allocations: 4 kB / 0.7958 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01799, allocations: 0 / 0.7958 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01801, allocations: 0.625 kB / 0.7958 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.01825, allocations: 63.91 kB / 0.7959 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.01825, allocations: 0.7188 kB / 0.7959 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.01842, allocations: 40.36 kB / 0.7959 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.01846, allocations: 12 kB / 0.7959 GB, free: 2.824 MB / 0.7448 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 0.0002028/0.01866, allocations: 167 kB / 0.7961 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.842e-05/0.01875, allocations: 43.8 kB / 0.7961 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007937/0.01954, allocations: 377 kB / 0.7965 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.01955, allocations: 4 kB / 0.7965 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.01956, allocations: 4.828 kB / 0.7965 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01956, allocations: 3.938 kB / 0.7965 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.0199, allocations: 238.9 kB / 0.7967 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0199, allocations: 4 kB / 0.7967 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.0201, allocations: 55.97 kB / 0.7968 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0201, allocations: 0 / 0.7968 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.02012, allocations: 8 kB / 0.7968 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.02013, allocations: 0.75 kB / 0.7968 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.02013, allocations: 3.938 kB / 0.7968 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.02072, allocations: 336.4 kB / 0.7971 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.02087, allocations: 71.69 kB / 0.7972 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.02092, allocations: 8 kB / 0.7972 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.02109, allocations: 15.98 kB / 0.7972 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.02116, allocations: 23.95 kB / 0.7972 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.02119, allocations: 15.98 kB / 0.7972 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002865/0.02148, allocations: 243.1 kB / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.02148, allocations: 4 kB / 0.7975 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003744/0.02185, allocations: 75.86 kB / 0.7975 GB, free: 1.102 MB / 0.7448 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.002133/0.02399, allocations: 0.4922 MB / 0.798 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.02446, allocations: 216.3 kB / 0.7982 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02446, allocations: 0 / 0.7982 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.02469, allocations: 127.8 kB / 0.7983 GB, free: 484 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.02502, allocations: 55.08 kB / 0.7984 GB, free: 432 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.02603, allocations: 0.5101 MB / 0.7989 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.02621, allocations: 150.9 kB / 0.799 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.02656, allocations: 150.9 kB / 0.7992 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02668, allocations: 48.47 kB / 0.7992 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/0.02668, allocations: 0 / 0.7992 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.008989/0.03567, allocations: 3.514 MB / 0.8027 GB, free: 12.04 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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: 7.992372315027751]