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.002009/0.002009, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002754/0.002754, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.744/1.744, allocations: 230.6 MB / 256 MB, free: 7.781 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.834/2.834, allocations: 476 MB / 0.7699 GB, free: 4.734 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [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.002133/0.002133, allocations: 70.91 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3632, allocations: 169.9 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002467/0.3656, allocations: 1.253 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3674, allocations: 1.097 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.3674, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.3675, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.3679, allocations: 111.5 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.3679, allocations: 0 / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.644e-05/0.3679, allocations: 3.984 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.368, allocations: 8 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.368, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.3681, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.742e-06/0.3681, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.3683, allocations: 103.9 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.3683, allocations: 3.984 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.3683, allocations: 11.94 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3685, allocations: 92.95 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3685, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3685, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3685, allocations: 4 kB / 1.285 GB, free: 9.688 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.0003482/0.3689, allocations: 279.8 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3689, allocations: 12.03 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.369, allocations: 110 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.3691, allocations: 80.16 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.3692, allocations: 181.8 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.3693, allocations: 154.9 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.3694, allocations: 150.9 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.289e-05/0.3695, allocations: 104.9 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.3695, allocations: 83.27 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.3696, allocations: 150.6 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-05/0.3696, allocations: 154.6 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.3697, allocations: 158.5 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.3701, allocations: 413 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3702, allocations: 173.2 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.3702, allocations: 84.14 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.3702, allocations: 83.22 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.3703, allocations: 109.8 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3703, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.197e-05/0.3704, allocations: 29.66 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.3704, allocations: 134.7 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3706, allocations: 97.86 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3706, allocations: 25.7 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.3706, allocations: 80.14 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.3706, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.3706, allocations: 9.719 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3708, allocations: 315 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-06/0.3708, allocations: 4 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-06/0.3708, allocations: 0 / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.3708, allocations: 75.28 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-05/0.3709, allocations: 79.22 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.769e-05/0.3709, allocations: 41.56 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.371, allocations: 79.28 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/0.371, allocations: 75.28 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.884e-05/0.3711, allocations: 162.5 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-05/0.3711, allocations: 79.28 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.677e-05/0.3712, allocations: 154.5 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.3713, allocations: 83.28 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.3713, allocations: 75.28 kB / 1.289 GB, free: 5.484 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.0001433/0.3715, allocations: 260.4 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.3715, allocations: 117 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.3716, allocations: 108.2 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.444e-05/0.3717, allocations: 180.2 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.832e-05/0.3718, allocations: 180.3 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-05/0.3719, allocations: 180.3 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.3721, allocations: 380.2 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.181e-05/0.3722, allocations: 108.9 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.3722, allocations: 112.9 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.378e-05/0.3723, allocations: 180.3 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/0.3724, allocations: 176.3 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.373e-05/0.3725, allocations: 180.2 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.119e-05/0.3726, allocations: 184.3 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3728, allocations: 303.8 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.3728, allocations: 108.9 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/0.3729, allocations: 184.2 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.447e-05/0.373, allocations: 101 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.3731, allocations: 184.2 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.3732, allocations: 105 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.3732, allocations: 79.28 kB / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3732, allocations: 0 / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003759/0.3736, allocations: 43.8 kB / 1.292 GB, free: 1.906 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.001003/0.3746, allocations: 0.9605 MB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.737e-05/0.3746, allocations: 0 / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3746, allocations: 4 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3746, allocations: 0 / 1.293 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.3751, allocations: 465.9 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3765, allocations: 1.548 MB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.305e-05/0.3766, allocations: 63.28 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.225e-05/0.3766, allocations: 3.938 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.3766, allocations: 11.38 kB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3766, allocations: 0 / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.4099, allocations: 2.379 MB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 9.141 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] 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: 19.04907790198922]