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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_11_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_11_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.001558/0.001558, allocations: 112.5 kB / 15.73 MB, free: 76 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.002091/0.002091, allocations: 189 kB / 16.67 MB, free: 6.582 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 469.8 MB / 0.7425 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 75.88 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002161/0.3405, allocations: 1.241 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3421, allocations: 1.009 MB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3421, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.3421, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.3426, allocations: 119.5 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.3426, allocations: 0 / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.3426, allocations: 7.984 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.3427, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.3427, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.972e-05/0.3428, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.233e-06/0.3428, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.343, allocations: 131.8 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-06/0.343, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.3431, allocations: 3.938 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3433, allocations: 99.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3433, allocations: 8 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.011e-06/0.3433, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3433, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 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.0002968/0.3436, allocations: 355 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3436, allocations: 12.03 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.3436, allocations: 76.22 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3438, allocations: 239.7 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.3438, allocations: 154.9 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.3439, allocations: 150.9 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.744e-05/0.3439, allocations: 109.1 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.344, allocations: 83.2 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.344, allocations: 154.6 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.3441, allocations: 150.6 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.3441, allocations: 154.6 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.3444, allocations: 445.9 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.923e-05/0.3444, allocations: 173.1 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.3445, allocations: 84.08 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.3445, allocations: 79.28 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3445, allocations: 109.8 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3445, allocations: 0 / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.439e-05/0.3446, allocations: 25.7 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3447, allocations: 130.7 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.3448, allocations: 97.84 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3448, allocations: 25.7 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.3448, allocations: 88.27 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.3448, allocations: 0 / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.3448, allocations: 9.719 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.3449, allocations: 310.8 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.3449, allocations: 7.875 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.3449, allocations: 4.031 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.345, allocations: 79.28 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.345, allocations: 75.28 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.814e-05/0.345, allocations: 33.64 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.345, allocations: 83.28 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.3451, allocations: 87.2 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.045e-05/0.3451, allocations: 150.6 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.942e-05/0.3452, allocations: 75.28 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/0.3452, allocations: 154.5 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.3453, allocations: 83.28 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.3453, allocations: 79.22 kB / 1.227 GB, free: 6.914 MB / 0.9825 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.0001092/0.3454, allocations: 256.9 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.3455, allocations: 116.9 kB / 1.227 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.3455, allocations: 104.1 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.559e-05/0.3456, allocations: 184.2 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.345e-05/0.3457, allocations: 176.3 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.404e-05/0.3457, allocations: 192.1 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.346, allocations: 401.2 kB / 1.228 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/0.346, allocations: 101 kB / 1.229 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.346, allocations: 112.9 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.3461, allocations: 184.2 kB / 1.229 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.3462, allocations: 180.2 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.039e-05/0.3463, allocations: 180.3 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.648e-05/0.3463, allocations: 188.2 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.3465, allocations: 303.8 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.3466, allocations: 190 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.3466, allocations: 180.3 kB / 1.23 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3467, allocations: 101 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.3468, allocations: 184.2 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.3468, allocations: 105 kB / 1.23 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.3468, allocations: 79.28 kB / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3468, allocations: 0 / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003268/0.3472, allocations: 47.73 kB / 1.23 GB, free: 3.203 MB / 0.9825 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.0004566/0.3476, allocations: 305.7 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.807e-05/0.3477, allocations: 3.938 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3477, allocations: 0 / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.3477, allocations: 8 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.348, allocations: 460.8 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.3482, allocations: 171.5 kB / 1.231 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.3485, allocations: 0.6768 MB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.165e-06/0.3485, allocations: 0 / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.3485, allocations: 7.438 kB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3485, allocations: 7.938 kB / 1.232 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of Templates: time 0.003057/0.3515, allocations: 0.9954 MB / 1.233 GB, free: 0.5703 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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