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.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.001829/0.001829, allocations: 102.3 kB / 16.45 MB, free: 6.449 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.001579/0.001579, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.556/1.556, allocations: 230.5 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.405/3.405, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002077/0.002077, allocations: 75.22 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002767/0.4127, allocations: 1.257 MB / 1.322 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.4145, allocations: 1.02 MB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.4145, allocations: 0 / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.4146, allocations: 0 / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.415, allocations: 107.5 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.958e-06/0.415, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.4151, allocations: 4 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.4151, allocations: 4 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.4151, allocations: 0 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.4152, allocations: 7.984 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.4152, allocations: 0 / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.4155, allocations: 131.8 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.4155, allocations: 0 / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.4155, allocations: 3.938 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.4157, allocations: 103.8 kB / 1.324 GB, free: 156 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4157, allocations: 3.984 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4157, allocations: 3.938 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.4157, allocations: 0 / 1.324 GB, free: 148 kB / 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.0004458/0.4162, allocations: 355.1 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4162, allocations: 11.98 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.4163, allocations: 80.17 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.4165, allocations: 235.7 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.4166, allocations: 154.9 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.4167, allocations: 154.9 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/0.4167, allocations: 113 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.4168, allocations: 75.28 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.4169, allocations: 158.5 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/0.417, allocations: 150.6 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.417, allocations: 150.6 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.4174, allocations: 446 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4175, allocations: 173.1 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.4175, allocations: 80.14 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4176, allocations: 75.28 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.4176, allocations: 117.8 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.4176, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.215e-05/0.4177, allocations: 29.7 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.4178, allocations: 126.7 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4179, allocations: 105.7 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.4179, allocations: 25.7 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.418, allocations: 80.14 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.418, allocations: 128 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.418, allocations: 13.72 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4182, allocations: 314.8 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-06/0.4182, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-06/0.4182, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.4182, allocations: 75.28 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.172e-05/0.4182, allocations: 75.28 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.679e-05/0.4183, allocations: 29.69 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.4183, allocations: 91.28 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/0.4184, allocations: 83.22 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.169e-05/0.4185, allocations: 150.6 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.558e-05/0.4185, allocations: 75.41 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.373e-05/0.4186, allocations: 162.5 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.4186, allocations: 83.3 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.4187, allocations: 79.22 kB / 1.328 GB, free: 11.86 MB / 1.029 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.0001476/0.4188, allocations: 264.4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.4189, allocations: 108.9 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.419, allocations: 108 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.701e-05/0.419, allocations: 180.2 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.4191, allocations: 180.3 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.864e-05/0.4192, allocations: 188.2 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4195, allocations: 401.2 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-05/0.4195, allocations: 108.9 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.4196, allocations: 104.9 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/0.4197, allocations: 176.3 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/0.4198, allocations: 184.2 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.334e-05/0.4198, allocations: 184.3 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.426e-05/0.4199, allocations: 188.2 kB / 1.33 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.4201, allocations: 299.8 kB / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4202, allocations: 194 kB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.4203, allocations: 180.2 kB / 1.331 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.4204, allocations: 104.9 kB / 1.331 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.4205, allocations: 180.3 kB / 1.331 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.4205, allocations: 104.9 kB / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.4206, allocations: 79.28 kB / 1.331 GB, free: 8.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4206, allocations: 4.031 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003424/0.4209, allocations: 47.8 kB / 1.331 GB, free: 8.141 MB / 1.029 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.0006567/0.4216, allocations: 310.8 kB / 1.331 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.443e-05/0.4216, allocations: 0 / 1.331 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4216, allocations: 0 / 1.331 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4216, allocations: 4 kB / 1.331 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.422, allocations: 459.7 kB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.4223, allocations: 164.8 kB / 1.332 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4226, allocations: 0.6766 MB / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.907e-06/0.4226, allocations: 0 / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.4227, allocations: 7.438 kB / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4227, allocations: 0 / 1.333 GB, free: 6.508 MB / 1.029 GB Notification: Performance of Templates: time 0.003615/0.4263, allocations: 0.9915 MB / 1.334 GB, free: 5.527 MB / 1.029 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.496416814159602]