Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.186/3.186, allocations: 495.8 MB / 0.783 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 69.02 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4109, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002538/0.4134, allocations: 1.251 MB / 1.308 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4152, allocations: 1.103 MB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.4152, allocations: 0 / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.4152, allocations: 0 / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.4157, allocations: 103.6 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.4157, allocations: 0 / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.4157, allocations: 7.938 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.4158, allocations: 8 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.4158, allocations: 3.938 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4159, allocations: 11.97 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.4159, allocations: 3.938 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.4161, allocations: 103.9 kB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.4162, allocations: 4 kB / 1.309 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.4162, allocations: 4 kB / 1.309 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.4164, allocations: 99.7 kB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4164, allocations: 4 kB / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4164, allocations: 0 / 1.309 GB, free: 15.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4164, allocations: 0 / 1.309 GB, free: 15.15 MB / 1.014 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.0003651/0.4168, allocations: 270 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4168, allocations: 12.92 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.4169, allocations: 76.22 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.4171, allocations: 193.8 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.4171, allocations: 154.9 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.4172, allocations: 154.9 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.4173, allocations: 109.1 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.4173, allocations: 79.28 kB / 1.31 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.4174, allocations: 154.6 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/0.4174, allocations: 150.6 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.4175, allocations: 150.6 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.4178, allocations: 425 kB / 1.311 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.4179, allocations: 169.1 kB / 1.311 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.418, allocations: 80.14 kB / 1.311 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.418, allocations: 75.28 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.4181, allocations: 113.8 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4181, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.654e-05/0.4182, allocations: 29.64 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.4182, allocations: 130.7 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4184, allocations: 101.8 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.4184, allocations: 25.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.4184, allocations: 80.14 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.4184, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.4184, allocations: 9.719 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4186, allocations: 314.8 kB / 1.312 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.4186, allocations: 4 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-06/0.4186, allocations: 4.125 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.4186, allocations: 75.28 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.4186, allocations: 75.28 kB / 1.312 GB, free: 11.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.106e-05/0.4187, allocations: 37.58 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.4188, allocations: 84.69 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/0.4188, allocations: 75.28 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-05/0.4189, allocations: 154.5 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.4189, allocations: 91.16 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.515e-05/0.419, allocations: 150.7 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.4191, allocations: 83.23 kB / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4191, allocations: 75.28 kB / 1.313 GB, free: 11.07 MB / 1.014 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.0001378/0.4192, allocations: 268.3 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.4193, allocations: 108.9 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.4194, allocations: 112.1 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.4194, allocations: 184.3 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.709e-05/0.4195, allocations: 184.1 kB / 1.314 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.372e-05/0.4196, allocations: 176.3 kB / 1.314 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.4199, allocations: 376.3 kB / 1.315 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/0.4199, allocations: 108.9 kB / 1.315 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.4199, allocations: 104.9 kB / 1.315 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.42, allocations: 180.2 kB / 1.315 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.4201, allocations: 184.2 kB / 1.315 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.156e-05/0.4202, allocations: 180.3 kB / 1.315 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.407e-05/0.4203, allocations: 180.2 kB / 1.315 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.4204, allocations: 307.8 kB / 1.316 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.4205, allocations: 112.9 kB / 1.316 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.4206, allocations: 184.2 kB / 1.316 GB, free: 8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.4207, allocations: 101 kB / 1.316 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.4208, allocations: 184.3 kB / 1.316 GB, free: 7.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.4208, allocations: 104.9 kB / 1.316 GB, free: 7.598 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.4209, allocations: 87.27 kB / 1.316 GB, free: 7.512 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4209, allocations: 0 / 1.316 GB, free: 7.512 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003444/0.4212, allocations: 35.81 kB / 1.316 GB, free: 7.477 MB / 1.014 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.0006724/0.4219, allocations: 334.6 kB / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.025e-05/0.4219, allocations: 4 kB / 1.317 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4219, allocations: 4 kB / 1.317 GB, free: 7.172 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.4219, allocations: 3.938 kB / 1.317 GB, free: 7.168 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.4223, allocations: 455.6 kB / 1.317 GB, free: 6.719 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.4226, allocations: 156.8 kB / 1.317 GB, free: 6.539 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.4229, allocations: 0.6807 MB / 1.318 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.366e-06/0.4229, allocations: 0 / 1.318 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.4229, allocations: 7.438 kB / 1.318 GB, free: 5.824 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.4229, allocations: 0 / 1.318 GB, free: 5.824 MB / 1.014 GB Notification: Performance of Templates: time 0.003622/0.4265, allocations: 0.9939 MB / 1.319 GB, free: 4.84 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.140274650417268]