Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001424/0.001424, allocations: 111.4 kB / 16.37 MB, free: 5.984 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.001637/0.001637, allocations: 194.6 kB / 17.31 MB, free: 5.602 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.439/2.439, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 58.16 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2963, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002209/0.2985, allocations: 1.24 MB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2999, allocations: 1.006 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2999, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.2999, allocations: 0 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.3003, allocations: 115.5 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.387e-06/0.3003, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.482e-05/0.3004, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.3004, allocations: 8 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.253e-05/0.3004, allocations: 0 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.3005, allocations: 15.75 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.3005, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.3007, allocations: 119.8 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-06/0.3007, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.3008, allocations: 4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.301, allocations: 115.8 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.301, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.223e-06/0.301, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.301, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 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.0002809/0.3013, allocations: 343.6 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3013, allocations: 8.031 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.3014, allocations: 80.22 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3015, allocations: 243.7 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.3016, allocations: 150.9 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.3016, allocations: 150.9 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.523e-05/0.3017, allocations: 109.1 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.3017, allocations: 75.28 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.3018, allocations: 166.4 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.3018, allocations: 150.6 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.3019, allocations: 150.6 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.3021, allocations: 446 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.3022, allocations: 169.2 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.3023, allocations: 92.06 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.3023, allocations: 75.28 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.3023, allocations: 117.8 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3023, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.149e-05/0.3024, allocations: 25.7 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.3025, allocations: 126.7 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.3026, allocations: 93.86 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3026, allocations: 25.7 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.3026, allocations: 80.14 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.3026, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.3026, allocations: 17.84 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.3027, allocations: 318.8 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.3028, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-06/0.3028, allocations: 3.938 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.3028, allocations: 75.28 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/0.3028, allocations: 75.28 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.129e-05/0.3029, allocations: 33.64 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3029, allocations: 79.28 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.303, allocations: 87.22 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.218e-05/0.303, allocations: 154.5 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.834e-05/0.303, allocations: 75.28 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.68e-05/0.3031, allocations: 158.6 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.3032, allocations: 87.3 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3032, allocations: 79.28 kB / 1.033 GB, free: 11.13 MB / 0.8106 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.971e-05/0.3033, allocations: 268.3 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.3034, allocations: 104.9 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.3034, allocations: 112.1 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/0.3035, allocations: 180.2 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/0.3035, allocations: 180.3 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.085e-05/0.3036, allocations: 184.2 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3038, allocations: 405.2 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/0.3039, allocations: 104.9 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.3039, allocations: 112.9 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-05/0.304, allocations: 180.3 kB / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.304, allocations: 180.2 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.073e-05/0.3041, allocations: 184.2 kB / 1.035 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.053e-05/0.3041, allocations: 176.3 kB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.3043, allocations: 303.8 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.3043, allocations: 190 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.3044, allocations: 184.3 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.3045, allocations: 101 kB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.3046, allocations: 180.2 kB / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.3046, allocations: 109 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.3046, allocations: 75.28 kB / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3046, allocations: 0 / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003243/0.305, allocations: 40.08 kB / 1.037 GB, free: 7.426 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.0004521/0.3054, allocations: 330.5 kB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.266e-05/0.3055, allocations: 7.875 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3055, allocations: 0 / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3055, allocations: 0 / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3058, allocations: 465.9 kB / 1.037 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.306, allocations: 164.8 kB / 1.038 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3062, allocations: 0.669 MB / 1.038 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.324e-06/0.3063, allocations: 4 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.3063, allocations: 7.438 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3063, allocations: 0 / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of Templates: time 0.00283/0.3091, allocations: 0.9886 MB / 1.039 GB, free: 4.797 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches