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.001602/0.001602, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001813/0.001813, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.881/2.881, allocations: 476.7 MB / 0.7678 GB, free: 9.426 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="cs",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.001989/0.001989, allocations: 67.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237/1.239, allocations: 169.9 MB / 1.279 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002785/1.242, allocations: 1.259 MB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001912/1.244, allocations: 1.022 MB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/1.244, allocations: 0.7188 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/1.244, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004776/1.244, allocations: 107.3 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/1.244, allocations: 0 / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.655e-05/1.244, allocations: 1.797 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/1.244, allocations: 6.984 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/1.244, allocations: 0 / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/1.244, allocations: 15.11 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/1.244, allocations: 1.312 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/1.245, allocations: 124.2 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-06/1.245, allocations: 1.094 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/1.245, allocations: 3.938 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/1.245, allocations: 110.6 kB / 1.282 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.245, allocations: 0 / 1.282 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.685e-06/1.245, allocations: 0.625 kB / 1.282 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.245, allocations: 4 kB / 1.282 GB, free: 10.16 MB / 0.9981 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.0004205/1.245, allocations: 350.9 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/1.245, allocations: 10.12 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.38e-05/1.245, allocations: 76.17 kB / 1.282 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.923e-05/1.246, allocations: 106.6 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/1.246, allocations: 76.72 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/1.246, allocations: 247.2 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/1.246, allocations: 155.4 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/1.246, allocations: 159.2 kB / 1.283 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/1.246, allocations: 102.6 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/1.246, allocations: 75.28 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/1.246, allocations: 151.8 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/1.246, allocations: 155.2 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/1.246, allocations: 151.1 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/1.247, allocations: 449.8 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/1.247, allocations: 169.7 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/1.247, allocations: 89.47 kB / 1.284 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/1.247, allocations: 75.81 kB / 1.284 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/1.247, allocations: 107.3 kB / 1.284 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.247, allocations: 0.625 kB / 1.284 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.672e-05/1.247, allocations: 30.7 kB / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/1.247, allocations: 131.9 kB / 1.284 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/1.247, allocations: 97.94 kB / 1.284 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.247, allocations: 26.33 kB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/1.247, allocations: 82.5 kB / 1.284 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/1.247, allocations: 0 / 1.284 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.247, allocations: 10.88 kB / 1.284 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.247, allocations: 316.3 kB / 1.285 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/1.247, allocations: 4.906 kB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/1.247, allocations: 0.7969 kB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/1.247, allocations: 79.94 kB / 1.285 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-05/1.248, allocations: 79.28 kB / 1.285 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.072e-05/1.248, allocations: 37.02 kB / 1.285 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/1.248, allocations: 84.95 kB / 1.285 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-05/1.248, allocations: 76.44 kB / 1.285 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.007e-05/1.248, allocations: 156.4 kB / 1.285 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.29e-05/1.248, allocations: 80.31 kB / 1.285 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.029e-05/1.248, allocations: 156.8 kB / 1.286 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.467e-05/1.248, allocations: 79.72 kB / 1.286 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/1.248, allocations: 77.12 kB / 1.286 GB, free: 5.766 MB / 0.9981 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/1.248, allocations: 262.9 kB / 1.286 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/1.248, allocations: 111.6 kB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.596e-05/1.248, allocations: 114.2 kB / 1.286 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.584e-05/1.248, allocations: 177.5 kB / 1.286 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.143e-05/1.248, allocations: 181.7 kB / 1.286 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-05/1.249, allocations: 182.3 kB / 1.287 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/1.249, allocations: 405.8 kB / 1.287 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-05/1.249, allocations: 102.3 kB / 1.287 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/1.249, allocations: 106.9 kB / 1.287 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/1.249, allocations: 181.4 kB / 1.287 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/1.249, allocations: 182.2 kB / 1.288 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001503/1.249, allocations: 181.9 kB / 1.288 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.851e-05/1.249, allocations: 181.9 kB / 1.288 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/1.25, allocations: 312.8 kB / 1.288 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/1.25, allocations: 180.7 kB / 1.288 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.25, allocations: 182.1 kB / 1.289 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/1.25, allocations: 102.9 kB / 1.289 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.25, allocations: 178.2 kB / 1.289 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/1.25, allocations: 110.7 kB / 1.289 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.626e-05/1.25, allocations: 82.05 kB / 1.289 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.25, allocations: 0 / 1.289 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004184/1.25, allocations: 42.91 kB / 1.289 GB, free: 2.121 MB / 0.9981 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.001087/1.252, allocations: 0.9493 MB / 1.29 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.449e-05/1.252, allocations: 4.969 kB / 1.29 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.252, allocations: 0.5 kB / 1.29 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/1.252, allocations: 0.5625 kB / 1.29 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/1.252, allocations: 459.3 kB / 1.29 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/1.253, allocations: 1.557 MB / 1.292 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.254, allocations: 0.6755 MB / 1.293 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.243e-05/1.254, allocations: 1.156 kB / 1.293 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/1.254, allocations: 9.641 kB / 1.293 GB, free: 14.51 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.254, allocations: 0 / 1.293 GB, free: 14.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/1.276, allocations: 1.943 MB / 1.295 GB, free: 14.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/9.612, allocations: 14.81 kB / 1.295 GB, free: 14.04 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.35366783902282]