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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006737/0.006737, allocations: 101 kB / 15.73 MB, free: 6.059 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.001778/0.001778, allocations: 197 kB / 16.68 MB, free: 5.969 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.508/2.508, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6249/0.6267, allocations: 159.1 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002048/0.6288, allocations: 1.243 MB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.6301, allocations: 1.012 MB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.6301, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.6301, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.6305, allocations: 107.6 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 2.776e-06/0.6305, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.454e-05/0.6306, allocations: 7.938 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.6306, allocations: 3.984 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.6306, allocations: 3.984 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.6307, allocations: 4 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-06/0.6307, allocations: 4 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.6309, allocations: 123.8 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.908e-06/0.6309, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.6309, allocations: 11.92 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.6311, allocations: 103.5 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.6311, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6311, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6312, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 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.0003016/0.6315, allocations: 347.1 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.6315, allocations: 16.03 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.6316, allocations: 110 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.6316, allocations: 80.22 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.6318, allocations: 243.6 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.6319, allocations: 154.9 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.6319, allocations: 150.9 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.077e-05/0.632, allocations: 108.9 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.632, allocations: 75.28 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.6321, allocations: 150.6 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.6321, allocations: 150.6 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.6322, allocations: 154.5 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.6325, allocations: 453.9 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.6326, allocations: 165.1 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.6326, allocations: 80.14 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.6326, allocations: 83.22 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.6327, allocations: 105.8 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6327, allocations: 7.938 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 5.929e-05/0.6328, allocations: 29.7 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.6328, allocations: 126.7 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.6329, allocations: 97.84 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.6329, allocations: 25.7 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.633, allocations: 88.08 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.633, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.633, allocations: 13.84 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6331, allocations: 310.8 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-06/0.6331, allocations: 4 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.6331, allocations: 0.9531 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.6332, allocations: 75.28 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.759e-05/0.6332, allocations: 79.22 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.74e-05/0.6333, allocations: 33.58 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.6333, allocations: 87.27 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.6334, allocations: 83.28 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.457e-05/0.6334, allocations: 158.5 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.055e-05/0.6335, allocations: 79.28 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.574e-05/0.6335, allocations: 154.6 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.6336, allocations: 79.22 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.6336, allocations: 75.28 kB / 1.227 GB, free: 10.96 MB / 0.9512 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.0001153/0.6337, allocations: 264.9 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.6338, allocations: 113 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.6339, allocations: 112.1 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.97e-05/0.6339, allocations: 176.3 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.056e-05/0.634, allocations: 184.2 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.777e-05/0.6341, allocations: 180.3 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.6343, allocations: 401.2 kB / 1.228 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.483e-05/0.6344, allocations: 112.9 kB / 1.228 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.6344, allocations: 101 kB / 1.228 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.706e-05/0.6345, allocations: 184.2 kB / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.6346, allocations: 176.3 kB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.696e-05/0.6346, allocations: 188.2 kB / 1.229 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-05/0.6347, allocations: 180.3 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.6348, allocations: 307.8 kB / 1.229 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.6349, allocations: 182 kB / 1.229 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.635, allocations: 184.2 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.6351, allocations: 105 kB / 1.23 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.6352, allocations: 188.2 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.6352, allocations: 101 kB / 1.23 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.6353, allocations: 79.28 kB / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6353, allocations: 0 / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002884/0.6356, allocations: 47.73 kB / 1.23 GB, free: 7.25 MB / 0.9512 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.0007787/0.6363, allocations: 0.9556 MB / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 2.542e-05/0.6364, allocations: 0 / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.6364, allocations: 0 / 1.231 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.6364, allocations: 8 kB / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.6367, allocations: 455.7 kB / 1.232 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.6378, allocations: 1.55 MB / 1.233 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.6381, allocations: 0.6768 MB / 1.234 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.612e-06/0.6381, allocations: 128 / 1.234 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.6381, allocations: 11.44 kB / 1.234 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of SimCode: time 1.91e-07/0.6381, allocations: 0 / 1.234 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.616/1.254, allocations: 1.891 MB / 1.236 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.6, allocations: 15.61 kB / 1.236 GB, free: 1.762 MB / 0.9512 GB (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 --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) 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) Reference file matches