Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001579/0.001579, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001718/0.001718, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 65.64 kB / 1.119 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002455/0.3324, allocations: 1.273 MB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3343, allocations: 1.104 MB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.3343, allocations: 0 / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.3344, allocations: 0 / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.3348, allocations: 111.5 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.3348, allocations: 0 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.3349, allocations: 4 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.3349, allocations: 11.98 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.3349, allocations: 3.984 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.335, allocations: 4 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.335, allocations: 4 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3353, allocations: 111.8 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-06/0.3353, allocations: 0 / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.3353, allocations: 8 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3355, allocations: 111.6 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3355, allocations: 3.984 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3355, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3355, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003524/0.3359, allocations: 278 kB / 1.288 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3359, allocations: 8.031 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.336, allocations: 80.22 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.3361, allocations: 185.8 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.3362, allocations: 150.9 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.3363, allocations: 150.9 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3365, allocations: 117.1 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.3365, allocations: 75.28 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.3366, allocations: 150.6 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.448e-05/0.3367, allocations: 154.5 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.3368, allocations: 150.6 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.3372, allocations: 417 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3373, allocations: 173.2 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.3373, allocations: 80.14 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.3373, allocations: 79.28 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.3374, allocations: 117.7 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3374, allocations: 0 / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.943e-05/0.3375, allocations: 33.69 kB / 1.29 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.3376, allocations: 126.7 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3377, allocations: 89.86 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3377, allocations: 29.7 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.3377, allocations: 84.14 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.3377, allocations: 128 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3378, allocations: 17.66 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3379, allocations: 310.8 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.3379, allocations: 0 / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.3379, allocations: 0 / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.338, allocations: 87.2 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.86e-05/0.338, allocations: 75.28 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/0.3381, allocations: 29.64 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.3381, allocations: 87.28 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/0.3381, allocations: 75.28 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.851e-05/0.3382, allocations: 154.5 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.231e-05/0.3383, allocations: 79.28 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.486e-05/0.3383, allocations: 166.4 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.3384, allocations: 83.27 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.3384, allocations: 75.28 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001338/0.3386, allocations: 260.4 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.3386, allocations: 113 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.3387, allocations: 112.2 kB / 1.292 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/0.3388, allocations: 180.2 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-05/0.3389, allocations: 180.2 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.95e-05/0.339, allocations: 188.2 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3392, allocations: 376.3 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.765e-05/0.3393, allocations: 105 kB / 1.293 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.3393, allocations: 112.9 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.632e-05/0.3394, allocations: 176.3 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.781e-05/0.3395, allocations: 180.3 kB / 1.293 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.364e-05/0.3396, allocations: 180.2 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.957e-05/0.3397, allocations: 180.3 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3398, allocations: 307.8 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3399, allocations: 112.9 kB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.34, allocations: 176.3 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3402, allocations: 113 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.3402, allocations: 180.2 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.3403, allocations: 101 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.3404, allocations: 79.28 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3404, allocations: 96 / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003489/0.3407, allocations: 47.8 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000676/0.3414, allocations: 317.9 kB / 1.295 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.36e-05/0.3414, allocations: 3.938 kB / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3414, allocations: 0 / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3414, allocations: 0 / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3418, allocations: 467 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.3421, allocations: 186.6 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3424, allocations: 0.669 MB / 1.296 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.3424, allocations: 7.438 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3424, allocations: 0 / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.003038/0.3455, allocations: 1.161 MB / 1.297 GB, free: 13.98 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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: 11.04775834098109]