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.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.001707/0.001707, allocations: 102.5 kB / 16.45 MB, free: 6.445 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.001573/0.001573, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.89 kB / 1.104 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9247, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002557/0.9272, allocations: 1.236 MB / 1.27 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.9285, allocations: 1.02 MB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.9286, allocations: 3.938 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.9286, allocations: 0 / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.929, allocations: 107.9 kB / 1.271 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.929, allocations: 0 / 1.271 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.199e-05/0.9291, allocations: 7.094 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.9291, allocations: 2.781 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.9291, allocations: 0.8438 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.9293, allocations: 9.031 kB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.9293, allocations: 0 / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.9295, allocations: 125.5 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-06/0.9295, allocations: 0.75 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.9295, allocations: 0.8438 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.9298, allocations: 112.5 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9298, allocations: 0.9062 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9298, allocations: 0.6562 kB / 1.271 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9298, allocations: 0 / 1.271 GB, free: 6.016 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.0002931/0.9301, allocations: 353 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9301, allocations: 9.5 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.9301, allocations: 115.7 kB / 1.272 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.9302, allocations: 84.88 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.9303, allocations: 238.4 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.9303, allocations: 151.5 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.9303, allocations: 151.6 kB / 1.272 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.576e-05/0.9304, allocations: 106.3 kB / 1.272 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9304, allocations: 79.28 kB / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.9304, allocations: 152.2 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.9305, allocations: 151.2 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.9305, allocations: 155.2 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.9307, allocations: 449.5 kB / 1.273 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.9307, allocations: 170 kB / 1.274 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.9307, allocations: 80.98 kB / 1.274 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.9307, allocations: 80.3 kB / 1.274 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.9308, allocations: 114.8 kB / 1.274 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.9308, allocations: 0 / 1.274 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.166e-05/0.9308, allocations: 31.75 kB / 1.274 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.9309, allocations: 127.2 kB / 1.274 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.9309, allocations: 94.41 kB / 1.274 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-06/0.9309, allocations: 25.7 kB / 1.274 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.323e-05/0.9309, allocations: 81.42 kB / 1.274 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-06/0.9309, allocations: 0.6875 kB / 1.274 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.931, allocations: 19.97 kB / 1.274 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.931, allocations: 315.7 kB / 1.274 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-06/0.931, allocations: 0.6875 kB / 1.274 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-06/0.931, allocations: 0 / 1.274 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.9311, allocations: 76 kB / 1.275 GB, free: 18.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-05/0.9311, allocations: 76.06 kB / 1.275 GB, free: 18.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.296e-05/0.9312, allocations: 37.19 kB / 1.275 GB, free: 18.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.9312, allocations: 84.56 kB / 1.275 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.9313, allocations: 76.16 kB / 1.275 GB, free: 18.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.235e-05/0.9313, allocations: 164.2 kB / 1.275 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/0.9314, allocations: 80.8 kB / 1.275 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.005e-05/0.9314, allocations: 156.4 kB / 1.275 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.9315, allocations: 80.89 kB / 1.275 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.9315, allocations: 76.03 kB / 1.275 GB, free: 17.69 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.0001219/0.9317, allocations: 263.2 kB / 1.276 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.9317, allocations: 110.4 kB / 1.276 GB, free: 17.31 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.9318, allocations: 106.5 kB / 1.276 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.151e-05/0.9318, allocations: 190.4 kB / 1.276 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.308e-05/0.9319, allocations: 178 kB / 1.276 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-05/0.932, allocations: 177.8 kB / 1.276 GB, free: 16.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.9322, allocations: 405.5 kB / 1.277 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.9323, allocations: 110.4 kB / 1.277 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.9323, allocations: 106.9 kB / 1.277 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.131e-05/0.9324, allocations: 178 kB / 1.277 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/0.9325, allocations: 178.3 kB / 1.277 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.166e-05/0.9325, allocations: 185.1 kB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.958e-05/0.9326, allocations: 186.8 kB / 1.278 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.9328, allocations: 304.8 kB / 1.278 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.9328, allocations: 184.5 kB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/0.9329, allocations: 182.7 kB / 1.278 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.933, allocations: 106.8 kB / 1.278 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.9331, allocations: 185 kB / 1.279 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.9331, allocations: 102.8 kB / 1.279 GB, free: 14.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.9332, allocations: 78.55 kB / 1.279 GB, free: 14.06 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9332, allocations: 0 / 1.279 GB, free: 14.06 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003594/0.9335, allocations: 39.23 kB / 1.279 GB, free: 14.05 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.0009071/0.9344, allocations: 0.9647 MB / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 3.993e-05/0.9345, allocations: 0.875 kB / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9345, allocations: 0 / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.9345, allocations: 1.672 kB / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.9349, allocations: 460.2 kB / 1.28 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.9361, allocations: 1.556 MB / 1.282 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.9364, allocations: 0.6713 MB / 1.282 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.777e-06/0.9364, allocations: 0.7812 kB / 1.282 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.9364, allocations: 9.875 kB / 1.282 GB, free: 10.43 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.9364, allocations: 7.969 kB / 1.282 GB, free: 10.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.9626, allocations: 1.903 MB / 1.284 GB, free: 9.977 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/9.072, allocations: 10.86 kB / 1.284 GB, free: 9.969 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.412163258064538]