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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008414/0.008414, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.002124/0.002124, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.474/1.474, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437 MB / 0.7106 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 63.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.775, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003307/0.7783, allocations: 1.315 MB / 1.019 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.7802, allocations: 0.992 MB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.7802, allocations: 0 / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.7803, allocations: 0 / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.7808, allocations: 79.75 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.846e-06/0.7808, allocations: 4 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.7809, allocations: 0 / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.7809, allocations: 7.922 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.7809, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.7811, allocations: 7.984 kB / 1.02 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.659e-06/0.7811, allocations: 4 kB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.7814, allocations: 115.8 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.7814, allocations: 0 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.7814, allocations: 0 / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.7816, allocations: 71.91 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-05/0.7817, allocations: 4 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7817, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7817, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 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.000386/0.7821, allocations: 347.5 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7821, allocations: 15.97 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.7822, allocations: 80.22 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.7824, allocations: 239.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.7825, allocations: 150.9 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.7825, allocations: 154.9 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.612e-05/0.7826, allocations: 105.1 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.7826, allocations: 79.28 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.7827, allocations: 154.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.7828, allocations: 150.6 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.7829, allocations: 154.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.7832, allocations: 445.9 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.7834, allocations: 173.1 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.7835, allocations: 80.14 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.7835, allocations: 79.31 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.7836, allocations: 117.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 3.406e-06/0.7836, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.33e-05/0.7837, allocations: 29.64 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.7837, allocations: 134.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.7839, allocations: 97.84 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.7839, allocations: 25.7 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.7839, allocations: 84.14 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/0.7839, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.784, allocations: 13.66 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7842, allocations: 310.8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.7842, allocations: 4.125 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-06/0.7842, allocations: 32 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.7842, allocations: 75.28 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.763e-05/0.7843, allocations: 75.28 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.245e-05/0.7843, allocations: 45.62 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.7844, allocations: 79.28 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/0.7844, allocations: 87.2 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-05/0.7845, allocations: 158.5 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.939e-05/0.7846, allocations: 75.28 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.822e-05/0.7847, allocations: 150.6 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.7848, allocations: 83.22 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.7848, allocations: 75.28 kB / 1.024 GB, free: 11.89 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 0.0001446/0.7849, allocations: 262.9 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.7851, allocations: 116.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.7852, allocations: 108.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.169e-05/0.7852, allocations: 176.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.239e-05/0.7853, allocations: 180.2 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.069e-05/0.7854, allocations: 176.3 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.7857, allocations: 413.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-05/0.7858, allocations: 105 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.7858, allocations: 104.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.093e-05/0.7859, allocations: 184.2 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.786, allocations: 184.2 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.451e-05/0.786, allocations: 180.2 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.7861, allocations: 180.3 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.7863, allocations: 307.8 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.7864, allocations: 186 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.7865, allocations: 180.2 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.7866, allocations: 105 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.7867, allocations: 180.2 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.7868, allocations: 109 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.7868, allocations: 79.28 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7868, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003594/0.7872, allocations: 39.92 kB / 1.027 GB, free: 8.184 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.0005968/0.7878, allocations: 315.7 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.3e-05/0.7878, allocations: 3.938 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7879, allocations: 0 / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.7879, allocations: 3.938 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.7883, allocations: 0.5298 MB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.7886, allocations: 192.1 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.7888, allocations: 0.6731 MB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.7889, allocations: 7.438 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7889, allocations: 0 / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.003032/0.7919, allocations: 1.158 MB / 1.03 GB, free: 5.281 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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