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.001041/0.001041, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.432/2.432, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 62.17 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2409, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00195/0.2429, allocations: 1.241 MB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2441, allocations: 1.012 MB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.2441, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.2441, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.2445, allocations: 111.5 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.755e-06/0.2445, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.38e-05/0.2445, allocations: 4 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.929e-05/0.2445, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-06/0.2446, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.2446, allocations: 11.97 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.2447, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.2448, allocations: 107.9 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-06/0.2448, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.024e-05/0.2448, allocations: 3.938 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.245, allocations: 111.8 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.245, allocations: 4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.245, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.245, allocations: 0 / 1.055 GB, free: 5.695 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.0002514/0.2453, allocations: 347.5 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.2453, allocations: 8.625 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.2454, allocations: 106 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.2454, allocations: 76.22 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2456, allocations: 244 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.2456, allocations: 154.9 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.2457, allocations: 150.9 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.917e-05/0.2457, allocations: 108.9 kB / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.2457, allocations: 79.22 kB / 1.057 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.2458, allocations: 150.6 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.2458, allocations: 154.6 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.2459, allocations: 154.6 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.2461, allocations: 446 kB / 1.058 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.601e-05/0.2462, allocations: 165.1 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.2462, allocations: 88.12 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.2462, allocations: 87.16 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2463, allocations: 117.8 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.2463, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5e-05/0.2463, allocations: 25.7 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2464, allocations: 126.7 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.2464, allocations: 97.86 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.2465, allocations: 25.7 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.445e-05/0.2465, allocations: 84.12 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2465, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.2465, allocations: 17.66 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.2466, allocations: 318.8 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/0.2466, allocations: 3.938 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-06/0.2466, allocations: 0 / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.2466, allocations: 79.41 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.2467, allocations: 75.28 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.978e-05/0.2467, allocations: 34.14 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.2468, allocations: 79.28 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.2468, allocations: 75.28 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.295e-05/0.2468, allocations: 154.5 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.147e-05/0.2469, allocations: 79.28 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/0.2469, allocations: 162.6 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.247, allocations: 83.28 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.247, allocations: 75.28 kB / 1.059 GB, free: 1.305 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 8.226e-05/0.2471, allocations: 269.8 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.2471, allocations: 104.9 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.2472, allocations: 108.1 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/0.2472, allocations: 192.2 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.78e-05/0.2473, allocations: 176.3 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-05/0.2473, allocations: 180.2 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2475, allocations: 401.2 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.2475, allocations: 108.9 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.2476, allocations: 112.9 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.631e-05/0.2476, allocations: 176.3 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.2477, allocations: 184.2 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-05/0.2477, allocations: 176.3 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-05/0.2478, allocations: 180.2 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.2479, allocations: 307.8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.2479, allocations: 186 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.248, allocations: 180.2 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.2481, allocations: 105 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.2481, allocations: 188.2 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.2482, allocations: 105 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.2482, allocations: 83.22 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2482, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002894/0.2485, allocations: 39.92 kB / 1.063 GB, free: 13.6 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.0005814/0.2491, allocations: 0.952 MB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.349e-05/0.2491, allocations: 4 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.2491, allocations: 0 / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.2491, allocations: 4 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2494, allocations: 455.7 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.2503, allocations: 1.56 MB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.2505, allocations: 0.669 MB / 1.066 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.606e-06/0.2505, allocations: 4 kB / 1.066 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.2505, allocations: 7.438 kB / 1.066 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2505, allocations: 0 / 1.066 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3433/0.5939, allocations: 1.87 MB / 1.068 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/9.236, allocations: 8.359 kB / 1.068 GB, free: 8.121 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