Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009537/0.0009537, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000831/0.000831, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8928/0.8928, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.722/1.722, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.547e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001879/0.001895, allocations: 1.685 MB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.00304, allocations: 1.371 MB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.003093, allocations: 0 / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.003276, allocations: 19.86 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.003561, allocations: 127.3 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.003785, allocations: 150.4 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.003994, allocations: 265.4 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.004076, allocations: 9.594 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.004178, allocations: 135.8 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.004294, allocations: 75.83 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.004318, allocations: 20 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.004444, allocations: 119.8 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.004519, allocations: 87.73 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.00458, allocations: 87.73 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.004874, allocations: 358.8 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004877, allocations: 4 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004878, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004882, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 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.0005414/0.005423, allocations: 0.4939 MB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005454, allocations: 8.75 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.005515, allocations: 32.75 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.005708, allocations: 216.8 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005723, allocations: 12.7 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005742, allocations: 20.38 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.006008, allocations: 331.2 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.006017, allocations: 192 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.006034, allocations: 12.12 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.00604, allocations: 4 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.006527, allocations: 0.6906 MB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.007122, allocations: 0.4964 MB / 1.008 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.007365, allocations: 212.8 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.007467, allocations: 97.36 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.007497, allocations: 20.27 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.007824, allocations: 203.1 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=34): time 1.202e-06/0.007825, allocations: 3.938 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34): time 0.0004401/0.008265, allocations: 370.4 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.008318, allocations: 136.5 kB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.008523, allocations: 317.7 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.008542, allocations: 33.7 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.008602, allocations: 128.7 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.008659, allocations: 119 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.008719, allocations: 73.67 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.008798, allocations: 342.8 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.008891, allocations: 83.81 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.00903, allocations: 202.6 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.009246, allocations: 213.8 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009248, allocations: 0 / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002806/0.009529, allocations: 289.1 kB / 1.01 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.009541, allocations: 9.406 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.009545, allocations: 0 / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.009556, allocations: 3.938 kB / 1.01 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.00968, allocations: 59.91 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.009685, allocations: 4 kB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.009757, allocations: 27.88 kB / 1.01 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.009772, allocations: 15.98 kB / 1.01 GB, free: 3.023 MB / 0.9636 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 9.703e-05/0.009869, allocations: 165.7 kB / 1.011 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.009899, allocations: 27.81 kB / 1.011 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.01028, allocations: 376.9 kB / 1.011 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01028, allocations: 4 kB / 1.011 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01028, allocations: 4 kB / 1.011 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.01029, allocations: 3.984 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.01045, allocations: 245 kB / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01045, allocations: 0 / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.01054, allocations: 59.91 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01054, allocations: 0 / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01056, allocations: 11.98 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01056, allocations: 0 / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01056, allocations: 4 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01084, allocations: 323.4 kB / 1.012 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.01091, allocations: 71.67 kB / 1.012 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.01093, allocations: 12 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.011, allocations: 15.98 kB / 1.012 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.01104, allocations: 23.89 kB / 1.012 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01105, allocations: 20 kB / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001299/0.01118, allocations: 245.2 kB / 1.012 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 0 / 1.012 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001967/0.01138, allocations: 75.86 kB / 1.012 GB, free: 1.312 MB / 0.9636 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.0007131/0.01209, allocations: 493.5 kB / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.01237, allocations: 228.3 kB / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01237, allocations: 0 / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.01248, allocations: 119.8 kB / 1.013 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01265, allocations: 42.47 kB / 1.013 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.01322, allocations: 0.5516 MB / 1.013 GB, free: 48 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01334, allocations: 146.9 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.01342, allocations: 56.47 kB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of SimCode: time 4.2e-07/0.01342, allocations: 0 / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of Templates: time 0.004513/0.01793, allocations: 4.737 MB / 1.018 GB, free: 11.09 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.8636644622311]