Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_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.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001119/0.001119, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.182/1.182, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.223/2.223, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 63.91 kB / 0.8689 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4786, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002031/0.4807, allocations: 1.307 MB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4819, allocations: 0.9879 MB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.4819, allocations: 0 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.4819, allocations: 0 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.4823, allocations: 87.81 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.4823, allocations: 8 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.851e-05/0.4824, allocations: 3.938 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.4824, allocations: 3.984 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.148e-05/0.4824, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.4825, allocations: 7.984 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-06/0.4825, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.4827, allocations: 107.9 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-06/0.4827, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.4827, allocations: 7.938 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.4829, allocations: 103.9 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.646e-05/0.4829, allocations: 4.047 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4829, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4829, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 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.0002773/0.4832, allocations: 355.4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4833, allocations: 8.031 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.4833, allocations: 110 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.4834, allocations: 76.22 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4835, allocations: 249.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.4835, allocations: 150.9 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.4836, allocations: 154.9 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.894e-05/0.4836, allocations: 112.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4837, allocations: 75.28 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.4837, allocations: 150.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.4837, allocations: 154.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.799e-05/0.4838, allocations: 150.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.484, allocations: 446 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.4841, allocations: 173.1 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.4841, allocations: 80.14 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.4841, allocations: 79.22 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.4842, allocations: 121.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4842, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.238e-05/0.4843, allocations: 29.7 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4843, allocations: 130.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.4844, allocations: 89.86 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.4844, allocations: 25.7 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.4844, allocations: 84.14 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.4844, allocations: 4.125 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.4845, allocations: 13.7 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.4845, allocations: 314.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-06/0.4845, allocations: 3.938 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-06/0.4846, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.4846, allocations: 79.22 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/0.4846, allocations: 79.28 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.666e-05/0.4847, allocations: 33.64 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4847, allocations: 83.28 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.4847, allocations: 79.28 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.688e-05/0.4848, allocations: 154.5 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.02e-05/0.4848, allocations: 79.27 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-05/0.4848, allocations: 158.5 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.4849, allocations: 79.28 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.4849, allocations: 79.28 kB / 1.024 GB, free: 11.59 MB / 0.7794 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.343e-05/0.485, allocations: 256.4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.4851, allocations: 108.9 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.4851, allocations: 112.1 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/0.4852, allocations: 184.2 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.751e-05/0.4852, allocations: 180.3 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/0.4853, allocations: 180.3 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.4854, allocations: 401.2 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/0.4855, allocations: 108.9 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.4855, allocations: 108.9 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.693e-05/0.4856, allocations: 180.3 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.4856, allocations: 184.2 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.801e-05/0.4857, allocations: 184.2 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.165e-05/0.4857, allocations: 176.3 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.4858, allocations: 303.8 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.4859, allocations: 194 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.4859, allocations: 180.2 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.486, allocations: 101 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.4861, allocations: 184.2 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.4861, allocations: 105 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.4861, allocations: 79.27 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4862, allocations: 4.094 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002866/0.4864, allocations: 39.94 kB / 1.027 GB, free: 7.891 MB / 0.7794 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.0006389/0.4871, allocations: 0.9585 MB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.99e-05/0.4871, allocations: 4 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4871, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4871, allocations: 0 / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4874, allocations: 456.5 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.4883, allocations: 1.559 MB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.4885, allocations: 0.6768 MB / 1.03 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.498e-06/0.4886, allocations: 4 kB / 1.03 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.4886, allocations: 11.42 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4886, allocations: 0 / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.571/2.06, allocations: 1.783 MB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/2.06, allocations: 278.6 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/3.552, allocations: 0 / 1.033 GB, free: 2.164 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches