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.001529/0.001529, allocations: 105.3 kB / 16.27 MB, free: 5.949 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.001506/0.001506, allocations: 190.1 kB / 17.2 MB, free: 5.586 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.58/2.58, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 76.11 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3316, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002521/0.3342, allocations: 1.225 MB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3359, allocations: 1.017 MB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.3359, allocations: 0 / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.336, allocations: 0 / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.3365, allocations: 107.6 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.3365, allocations: 7.938 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.3365, allocations: 4 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.3366, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.3366, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3367, allocations: 4 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.3367, allocations: 0 / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.337, allocations: 115.8 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.337, allocations: 3.984 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.337, allocations: 3.938 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3372, allocations: 99.89 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3372, allocations: 3.938 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3372, allocations: 4 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3373, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 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.0003748/0.3376, allocations: 351.4 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3377, allocations: 8.031 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.3378, allocations: 76.22 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.338, allocations: 247.6 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.338, allocations: 150.9 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.3381, allocations: 154.9 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.768e-05/0.3382, allocations: 109.1 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.3382, allocations: 75.28 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.3383, allocations: 150.6 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.3384, allocations: 150.6 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.3384, allocations: 162.5 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3388, allocations: 445.9 kB / 1.023 GB, free: 5.867 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.3389, allocations: 165.2 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.3389, allocations: 84.14 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.339, allocations: 79.22 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.339, allocations: 121.7 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.339, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.604e-05/0.3391, allocations: 25.7 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3392, allocations: 126.7 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3393, allocations: 101.8 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3393, allocations: 25.7 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3394, allocations: 84.27 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3394, allocations: 0 / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.3394, allocations: 13.72 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3396, allocations: 310.8 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-06/0.3396, allocations: 3.938 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.3396, allocations: 0 / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.3396, allocations: 75.28 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-05/0.3397, allocations: 79.22 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.138e-05/0.3397, allocations: 41.64 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3398, allocations: 79.28 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/0.3398, allocations: 83.27 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.672e-05/0.3399, allocations: 158.5 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/0.3399, allocations: 75.28 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-05/0.34, allocations: 154.6 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.3401, allocations: 79.3 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3401, allocations: 79.28 kB / 1.024 GB, free: 3.773 MB / 0.795 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.0001472/0.3403, allocations: 264.7 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.3404, allocations: 112.8 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.3404, allocations: 104.1 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-05/0.3405, allocations: 184.2 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-05/0.3406, allocations: 180.3 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.84e-05/0.3407, allocations: 176.3 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.341, allocations: 413.2 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/0.341, allocations: 101 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.3411, allocations: 108.9 kB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.099e-05/0.3412, allocations: 184.2 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.3412, allocations: 180.3 kB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.108e-05/0.3413, allocations: 184.2 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.737e-05/0.3414, allocations: 176.3 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.3416, allocations: 307.8 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.3417, allocations: 186 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.3418, allocations: 184.2 kB / 1.027 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.3419, allocations: 101 kB / 1.027 GB, free: 496 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.3419, allocations: 180.2 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.342, allocations: 105 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.342, allocations: 87.22 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3421, allocations: 0 / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.000349/0.3424, allocations: 47.92 kB / 1.028 GB, free: 60 kB / 0.795 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.000623/0.343, allocations: 319.4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.145e-05/0.3431, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3431, allocations: 3.938 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3431, allocations: 0 / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.3435, allocations: 463.9 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.3438, allocations: 194.5 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.3441, allocations: 0.6729 MB / 1.029 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.3441, allocations: 7.438 kB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3441, allocations: 4 kB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.003045/0.3472, allocations: 1.15 MB / 1.031 GB, free: 13.24 MB / 0.8106 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=400 -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