Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.423/2.423, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.53 kB / 0.8987 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002167/0.2301, allocations: 1.302 MB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2314, allocations: 0.9997 MB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.2315, allocations: 0 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.2315, allocations: 0 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.2319, allocations: 95.73 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.986e-06/0.2319, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.759e-05/0.232, allocations: 4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.232, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.232, allocations: 4 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.2321, allocations: 7.984 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.393e-06/0.2321, allocations: 0 / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.2323, allocations: 119.8 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-06/0.2323, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.2323, allocations: 7.938 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.2325, allocations: 95.89 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2325, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2326, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 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.0002977/0.2329, allocations: 351.5 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2329, allocations: 8.625 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.2329, allocations: 114 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.233, allocations: 76.22 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2331, allocations: 240 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.2332, allocations: 154.9 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.2332, allocations: 150.9 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.425e-05/0.2333, allocations: 112.8 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.2333, allocations: 87.27 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.2334, allocations: 150.6 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.2334, allocations: 150.6 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.2335, allocations: 150.6 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.2337, allocations: 449.9 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.2338, allocations: 173.1 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.2338, allocations: 80.14 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2338, allocations: 79.22 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2339, allocations: 105.8 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2339, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.121e-05/0.234, allocations: 41.62 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.234, allocations: 126.7 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.2341, allocations: 93.86 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2341, allocations: 25.7 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.2341, allocations: 84.08 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.2341, allocations: 4 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.2342, allocations: 9.719 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.2343, allocations: 319 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-06/0.2343, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-06/0.2343, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.2343, allocations: 79.27 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.2343, allocations: 75.28 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.561e-05/0.2344, allocations: 37.58 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.2344, allocations: 80.69 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.2345, allocations: 79.28 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.096e-05/0.2345, allocations: 154.6 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.2345, allocations: 79.22 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.301e-05/0.2346, allocations: 150.6 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.2347, allocations: 87.2 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.2347, allocations: 79.33 kB / 1.059 GB, free: 1.59 MB / 0.8106 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 9.021e-05/0.2348, allocations: 268.3 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.2348, allocations: 104.9 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.2349, allocations: 112 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-05/0.2349, allocations: 176.3 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/0.235, allocations: 188.2 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-05/0.235, allocations: 176.3 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2352, allocations: 401.2 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/0.2353, allocations: 112.8 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.2353, allocations: 105 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.2354, allocations: 188.2 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.2354, allocations: 176.3 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.041e-05/0.2355, allocations: 184.2 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.071e-05/0.2355, allocations: 184.2 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.2356, allocations: 304.2 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.2357, allocations: 186 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.2358, allocations: 184.2 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.2359, allocations: 113 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.2359, allocations: 176.3 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.236, allocations: 108.9 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.236, allocations: 79.28 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.236, allocations: 3.938 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002937/0.2363, allocations: 39.98 kB / 1.062 GB, free: 13.88 MB / 0.8262 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.0006599/0.237, allocations: 0.9501 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.298e-05/0.237, allocations: 3.938 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.237, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.237, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2373, allocations: 459.7 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.2383, allocations: 1.556 MB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2385, allocations: 0.669 MB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.315e-06/0.2385, allocations: 0 / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.2386, allocations: 11.44 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2386, allocations: 4.031 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5143/0.7528, allocations: 1.787 MB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7531, allocations: 276.4 kB / 1.068 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.312, allocations: 8.062 kB / 1.068 GB, free: 8.152 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches