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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001252/0.001252, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 70.72 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.305, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002401/0.3075, allocations: 1.306 MB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.309, allocations: 0.9958 MB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.3091, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.3091, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.3095, allocations: 87.8 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.3095, allocations: 4 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 2.986e-05/0.3096, allocations: 3.938 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.3096, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.3097, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3098, allocations: 7.938 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.3098, allocations: 3.938 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.31, allocations: 119.8 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.31, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.3101, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3103, allocations: 103.8 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3103, allocations: 4 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.61e-07/0.3103, allocations: 3.938 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3103, allocations: 0 / 1.055 GB, free: 6.223 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.0003855/0.3107, allocations: 351.5 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3107, allocations: 8.031 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.3108, allocations: 76.22 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.311, allocations: 235.7 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.3111, allocations: 154.9 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.3111, allocations: 154.9 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.152e-05/0.3112, allocations: 105.1 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.3112, allocations: 75.28 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.3113, allocations: 150.6 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.3113, allocations: 154.6 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.3114, allocations: 158.5 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.3117, allocations: 445.9 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.3118, allocations: 169.1 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.3118, allocations: 80.14 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3118, allocations: 83.22 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.3119, allocations: 117.7 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3119, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.312, allocations: 29.7 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.312, allocations: 130.7 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.3121, allocations: 97.86 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3121, allocations: 25.83 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.3122, allocations: 84.14 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.3122, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.3122, allocations: 9.719 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3123, allocations: 310.8 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.3123, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/0.3123, allocations: 4 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/0.3124, allocations: 75.28 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.333e-05/0.3124, allocations: 79.28 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.739e-05/0.3125, allocations: 37.56 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.3125, allocations: 84.84 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/0.3126, allocations: 75.28 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-05/0.3126, allocations: 158.5 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.187e-05/0.3126, allocations: 75.28 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.614e-05/0.3127, allocations: 162.4 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.3128, allocations: 79.28 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3128, allocations: 75.28 kB / 1.059 GB, free: 1.961 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 0.0001051/0.3129, allocations: 266.2 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.313, allocations: 116.9 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.313, allocations: 104.1 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.3131, allocations: 184.2 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/0.3132, allocations: 184.3 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-05/0.3132, allocations: 180.2 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.3134, allocations: 401.2 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/0.3135, allocations: 101 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.3135, allocations: 116.8 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.3136, allocations: 180.3 kB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.3137, allocations: 176.3 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.289e-05/0.3137, allocations: 180.2 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.005e-05/0.3138, allocations: 184.3 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3139, allocations: 311.7 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.314, allocations: 182 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.3141, allocations: 184.6 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3142, allocations: 109 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3142, allocations: 184.2 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.3143, allocations: 105 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.3143, allocations: 79.28 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3143, allocations: 4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003206/0.3147, allocations: 43.98 kB / 1.062 GB, free: 14.24 MB / 0.8262 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.0004935/0.3152, allocations: 311.5 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.499e-05/0.3152, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3152, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.3152, allocations: 11.94 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3156, allocations: 0.5262 MB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.3158, allocations: 166.4 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3161, allocations: 0.6692 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.688e-06/0.3161, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.3161, allocations: 15.44 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3161, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.003122/0.3192, allocations: 0.9772 MB / 1.065 GB, free: 11.55 MB / 0.8262 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 -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/jenkins/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