Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005673/0.005674, allocations: 106.2 kB / 15.74 MB, free: 6 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.001202/0.001202, allocations: 199 kB / 16.68 MB, free: 5.918 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 71.73 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2954, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002218/0.2977, allocations: 1.239 MB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2992, allocations: 1.021 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.2993, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.2993, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.2998, allocations: 107.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.51e-06/0.2998, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.2998, allocations: 3.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.2999, allocations: 4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.2999, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3, allocations: 7.984 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-06/0.3001, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.3003, allocations: 119.8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.3003, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.3003, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3005, allocations: 99.89 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3006, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3006, allocations: 11.88 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3006, allocations: 3.984 kB / 1.09 GB, free: 14.88 MB / 0.8575 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.0003297/0.3009, allocations: 349.2 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.301, allocations: 12.03 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.301, allocations: 80.22 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3012, allocations: 239.7 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.3012, allocations: 150.9 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.3013, allocations: 154.9 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.542e-05/0.3014, allocations: 105.1 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.3014, allocations: 79.28 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.3015, allocations: 154.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.3015, allocations: 150.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.3016, allocations: 154.5 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.3018, allocations: 442 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.3019, allocations: 173.1 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.3019, allocations: 80.14 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.302, allocations: 75.28 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.302, allocations: 121.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.302, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.643e-05/0.3021, allocations: 25.7 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3022, allocations: 134.7 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.3023, allocations: 89.86 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3023, allocations: 25.7 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.3023, allocations: 92.06 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3023, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.3024, allocations: 9.719 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3025, allocations: 319 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.3025, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.3025, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.3025, allocations: 75.33 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.869e-05/0.3026, allocations: 79.28 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.002e-05/0.3026, allocations: 41.58 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.3026, allocations: 79.28 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.3027, allocations: 79.28 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-05/0.3027, allocations: 158.5 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.428e-05/0.3028, allocations: 75.41 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.907e-05/0.3028, allocations: 162.5 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.3029, allocations: 83.28 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.3029, allocations: 75.28 kB / 1.094 GB, free: 10.61 MB / 0.8575 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.948e-05/0.303, allocations: 256.4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.3031, allocations: 112.9 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.3032, allocations: 108.1 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/0.3032, allocations: 192.1 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.599e-05/0.3033, allocations: 176.3 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/0.3033, allocations: 180.3 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3035, allocations: 405.2 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.3036, allocations: 101 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.3036, allocations: 112.9 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.465e-05/0.3037, allocations: 184.2 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.3037, allocations: 180.3 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.578e-05/0.3038, allocations: 180.2 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-05/0.3039, allocations: 184.2 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.304, allocations: 303.8 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.3041, allocations: 189.9 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.3041, allocations: 184.2 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3042, allocations: 105 kB / 1.097 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.3043, allocations: 184.2 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3043, allocations: 105 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.3044, allocations: 75.28 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3044, allocations: 3.938 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003169/0.3047, allocations: 35.98 kB / 1.098 GB, free: 6.898 MB / 0.8575 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.0005102/0.3052, allocations: 318.1 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.46e-05/0.3053, allocations: 0 / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3053, allocations: 3.938 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3053, allocations: 0 / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3056, allocations: 455.7 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.3059, allocations: 168.8 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3061, allocations: 0.6729 MB / 1.099 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.165e-05/0.3061, allocations: 3.938 kB / 1.099 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.3061, allocations: 7.438 kB / 1.099 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3061, allocations: 0 / 1.099 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of Templates: time 0.003368/0.3095, allocations: 0.9859 MB / 1.1 GB, free: 4.281 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches