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.001889/0.001889, allocations: 80.59 kB / 19.18 MB, free: 2.527 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.002604/0.002604, allocations: 170.1 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.953/2.953, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] 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.082e-06/1.082e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.534e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003176/0.003201, allocations: 1.686 MB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.005687, allocations: 1.364 MB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.005765, allocations: 0 / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.005973, allocations: 35.7 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.006456, allocations: 111.3 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.006892, allocations: 160 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.00732, allocations: 261.5 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.007417, allocations: 13.59 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.007645, allocations: 139.7 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.007873, allocations: 79.81 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.007927, allocations: 20 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.008182, allocations: 119.8 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.008315, allocations: 87.73 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.008434, allocations: 75.75 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.009065, allocations: 354.8 kB / 1.005 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.00907, allocations: 7.984 kB / 1.005 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.009072, allocations: 0 / 1.005 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.00908, allocations: 4 kB / 1.005 GB, free: 2.758 MB / 0.9512 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.0008811/0.009961, allocations: 0.4901 MB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01, allocations: 8.031 kB / 1.005 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.0101, allocations: 32.75 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.01043, allocations: 220.6 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.01046, allocations: 20.64 kB / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.01049, allocations: 16.38 kB / 1.005 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.01099, allocations: 327.2 kB / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.011, allocations: 4.188 kB / 1.006 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.01103, allocations: 12.12 kB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.01103, allocations: 4 kB / 1.006 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.01212, allocations: 0.6868 MB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01327, allocations: 0.5002 MB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.0137, allocations: 209.4 kB / 1.007 GB, free: 116 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.01387, allocations: 93.36 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.01394, allocations: 20.27 kB / 1.007 GB, free: 0 / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.01439, allocations: 207.2 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.983e-06/0.01439, allocations: 0 / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0008573/0.01525, allocations: 365.9 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.01538, allocations: 136.5 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.01579, allocations: 317.7 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.01583, allocations: 33.7 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.01596, allocations: 128.7 kB / 1.008 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.01608, allocations: 119 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.0162, allocations: 65.69 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.01642, allocations: 350.7 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.01659, allocations: 83.81 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.01688, allocations: 209.6 kB / 1.009 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.01732, allocations: 213.2 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01732, allocations: 0 / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005482/0.01787, allocations: 289.1 kB / 1.009 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.01789, allocations: 10.34 kB / 1.01 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.0179, allocations: 0 / 1.01 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01791, allocations: 0 / 1.01 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.01814, allocations: 59.91 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01815, allocations: 0 / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.01832, allocations: 31.81 kB / 1.01 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.01836, allocations: 15.98 kB / 1.01 GB, free: 13.3 MB / 0.9669 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.000202/0.01856, allocations: 173.7 kB / 1.01 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.01863, allocations: 31.75 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/0.01944, allocations: 384.8 kB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.01944, allocations: 4 kB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01945, allocations: 0 / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01945, allocations: 0 / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.01978, allocations: 245 kB / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.01978, allocations: 4 kB / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.01996, allocations: 51.91 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01997, allocations: 4 kB / 1.01 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.01999, allocations: 11.98 kB / 1.01 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01999, allocations: 4 kB / 1.01 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01999, allocations: 0 / 1.01 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.02057, allocations: 323.5 kB / 1.011 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.0207, allocations: 67.67 kB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.02076, allocations: 12 kB / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.02093, allocations: 15.98 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.02099, allocations: 19.95 kB / 1.011 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.02102, allocations: 20 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003174/0.02134, allocations: 249.1 kB / 1.011 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.02134, allocations: 0 / 1.011 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003604/0.0217, allocations: 79.86 kB / 1.011 GB, free: 11.57 MB / 0.9669 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.00182/0.02352, allocations: 480.7 kB / 1.012 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005018/0.02402, allocations: 232.1 kB / 1.012 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02403, allocations: 0 / 1.012 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.02424, allocations: 123.9 kB / 1.012 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.02459, allocations: 32.44 kB / 1.012 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.0256, allocations: 0.5186 MB / 1.013 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.02578, allocations: 150.9 kB / 1.013 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003565/0.02613, allocations: 150.8 kB / 1.013 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.02625, allocations: 48.47 kB / 1.013 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.02625, allocations: 4 kB / 1.013 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of Templates: time 0.009057/0.0353, allocations: 3.479 MB / 1.016 GB, free: 6.539 MB / 0.9669 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: 8.494871873408556]