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: 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.001566/0.001566, allocations: 108 kB / 15.61 MB, free: 152 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.001868/0.001868, allocations: 196 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.709/2.709, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 60.14 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6738, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00238/0.6763, allocations: 1.227 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.6778, allocations: 1.008 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.6778, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.6778, allocations: 3.984 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.6783, allocations: 107.5 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.468e-06/0.6783, allocations: 4 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.6784, allocations: 3.984 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.6784, allocations: 0 / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.6784, allocations: 4 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.6786, allocations: 11.94 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.323e-06/0.6786, allocations: 0 / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.6788, allocations: 107.9 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-06/0.6788, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.6788, allocations: 3.938 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.679, allocations: 107.9 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.679, allocations: 3.938 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.946e-06/0.679, allocations: 0 / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6791, allocations: 0 / 1.02 GB, free: 60 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.0003795/0.6794, allocations: 357.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6795, allocations: 8.031 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.6795, allocations: 76.22 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.6797, allocations: 243.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.6798, allocations: 154.9 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.6798, allocations: 154.9 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.124e-05/0.6799, allocations: 109.1 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.6799, allocations: 79.28 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.68, allocations: 150.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.159e-05/0.68, allocations: 150.6 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.6801, allocations: 154.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.6804, allocations: 446 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.6805, allocations: 169.1 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.6805, allocations: 80.14 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.6805, allocations: 79.27 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.6806, allocations: 113.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6806, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.326e-05/0.6807, allocations: 29.64 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.6807, allocations: 130.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6808, allocations: 93.86 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.6809, allocations: 25.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.6809, allocations: 80.14 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.6809, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.6809, allocations: 17.66 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6811, allocations: 319 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.6811, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.6811, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.6811, allocations: 75.28 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/0.6811, allocations: 75.28 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.535e-05/0.6812, allocations: 33.64 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.6812, allocations: 79.28 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.6813, allocations: 79.22 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.423e-05/0.6813, allocations: 158.6 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.01e-05/0.6814, allocations: 79.22 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/0.6814, allocations: 158.6 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.6815, allocations: 75.28 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.6815, allocations: 83.22 kB / 1.024 GB, free: 11.78 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.0001047/0.6816, allocations: 269.7 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.6817, allocations: 104.9 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.6818, allocations: 112.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/0.6818, allocations: 184.2 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.094e-05/0.6819, allocations: 184.2 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.579e-05/0.6819, allocations: 184.3 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.6822, allocations: 401.2 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/0.6822, allocations: 104.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.6823, allocations: 104.9 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.106e-05/0.6823, allocations: 180.2 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.6824, allocations: 184.3 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.055e-05/0.6825, allocations: 188.2 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-05/0.6825, allocations: 180.2 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.6826, allocations: 307.8 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.6827, allocations: 186 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.6828, allocations: 184.3 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.6829, allocations: 104.9 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.6829, allocations: 176.3 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.683, allocations: 104.9 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.683, allocations: 83.28 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.683, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003283/0.6833, allocations: 39.92 kB / 1.027 GB, free: 8.07 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.0005088/0.6839, allocations: 317.6 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.282e-05/0.6839, allocations: 4 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6839, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6839, allocations: 0 / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.6843, allocations: 464.7 kB / 1.028 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.6845, allocations: 164.7 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.6848, allocations: 0.669 MB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.6848, allocations: 7.938 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.6848, allocations: 11.44 kB / 1.029 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6848, allocations: 0 / 1.029 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.003138/0.6879, allocations: 0.9852 MB / 1.03 GB, free: 5.457 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/jenkins/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