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.00107/0.00107, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001196/0.001196, allocations: 199.4 kB / 17.3 MB, free: 5.516 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.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.474/2.474, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 62.41 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2996, allocations: 151.7 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002518/0.3021, allocations: 1.225 MB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3036, allocations: 1.017 MB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.3036, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.3037, allocations: 3.938 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.3041, allocations: 107.6 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.3041, allocations: 0 / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.075e-05/0.3042, allocations: 4 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.3042, allocations: 3.938 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.3043, allocations: 0 / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.3044, allocations: 4 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.3044, allocations: 0 / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3046, allocations: 139.8 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-06/0.3046, allocations: 0 / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.3046, allocations: 3.938 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3048, allocations: 103.9 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3048, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3048, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3049, allocations: 0 / 1.021 GB, free: 7.227 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.0002992/0.3052, allocations: 351.4 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3052, allocations: 12.02 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.3053, allocations: 80.22 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3054, allocations: 235.7 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.3055, allocations: 158.9 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.3055, allocations: 150.9 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.95e-05/0.3056, allocations: 105.1 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.3056, allocations: 75.28 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.3057, allocations: 158.6 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.3057, allocations: 150.6 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.3058, allocations: 154.5 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.306, allocations: 449.9 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.3061, allocations: 177.2 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.3061, allocations: 80.14 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3062, allocations: 75.28 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.3062, allocations: 109.8 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3062, allocations: 4 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.16e-05/0.3063, allocations: 29.64 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3064, allocations: 130.7 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.3064, allocations: 101.8 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.3065, allocations: 25.7 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.3065, allocations: 80.14 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.3065, allocations: 0 / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.3065, allocations: 9.719 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3066, allocations: 314.8 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.3066, allocations: 8.062 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.3067, allocations: 4 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.3067, allocations: 75.28 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/0.3067, allocations: 75.28 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.342e-05/0.3068, allocations: 37.58 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3068, allocations: 83.27 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.3068, allocations: 79.28 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.636e-05/0.3069, allocations: 150.6 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.151e-05/0.3069, allocations: 87.22 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.434e-05/0.307, allocations: 154.6 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.3071, allocations: 83.23 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3071, allocations: 75.28 kB / 1.025 GB, free: 2.945 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 9.821e-05/0.3072, allocations: 260.4 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.3072, allocations: 116.9 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.3073, allocations: 108 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/0.3073, allocations: 176.3 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-05/0.3074, allocations: 184.2 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/0.3075, allocations: 176.3 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.3077, allocations: 409.2 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.3077, allocations: 108.9 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3078, allocations: 104.9 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/0.3078, allocations: 184.2 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.3079, allocations: 176.3 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.024e-05/0.3079, allocations: 184.2 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.587e-05/0.308, allocations: 188.2 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3081, allocations: 303.8 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.3082, allocations: 186 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.3083, allocations: 180.2 kB / 1.028 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.3084, allocations: 105 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.3084, allocations: 184.2 kB / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.3085, allocations: 104.9 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.3085, allocations: 79.28 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3085, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003218/0.3089, allocations: 43.92 kB / 1.029 GB, free: 15.23 MB / 0.8106 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.0005072/0.3094, allocations: 316.9 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.785e-05/0.3094, allocations: 4 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3094, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.3094, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3098, allocations: 463.6 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.3101, allocations: 168.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3104, allocations: 0.6729 MB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.817e-06/0.3104, allocations: 0 / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.3104, allocations: 7.438 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.3104, allocations: 0 / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.003307/0.3137, allocations: 0.9933 MB / 1.031 GB, free: 12.62 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=480 -s cvode -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