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.008241/0.008241, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001859/0.001859, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 64.06 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00267/0.3224, allocations: 1.309 MB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3242, allocations: 1.004 MB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.3242, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.3242, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.3247, allocations: 83.73 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.896e-06/0.3247, allocations: 4 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.563e-05/0.3248, allocations: 3.984 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.3248, allocations: 4 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.3249, allocations: 0 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.325, allocations: 3.938 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.325, allocations: 7.938 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.3253, allocations: 107.9 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-06/0.3253, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.3253, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3255, allocations: 75.91 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3255, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3256, allocations: 4 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3256, allocations: 3.938 kB / 1.055 GB, free: 5.645 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.0003569/0.3259, allocations: 351.5 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.326, allocations: 15.91 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.326, allocations: 76.22 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3262, allocations: 235.7 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.3263, allocations: 150.9 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.3264, allocations: 158.9 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.3264, allocations: 105.1 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.3265, allocations: 75.28 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.3265, allocations: 154.6 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.3266, allocations: 154.5 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.3267, allocations: 158.5 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.327, allocations: 442 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.3271, allocations: 169.1 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.3271, allocations: 80.14 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3272, allocations: 79.28 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.3272, allocations: 109.8 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.605e-06/0.3272, allocations: 0 / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.939e-05/0.3273, allocations: 37.62 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3274, allocations: 126.7 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3275, allocations: 101.8 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3275, allocations: 25.7 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.3275, allocations: 84.27 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.3275, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.3276, allocations: 9.719 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3277, allocations: 310.8 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.3277, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-06/0.3277, allocations: 4 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.3277, allocations: 75.28 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/0.3278, allocations: 75.28 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.599e-05/0.3278, allocations: 41.56 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.3279, allocations: 83.28 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.3279, allocations: 79.28 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.861e-05/0.328, allocations: 154.5 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.28e-05/0.328, allocations: 75.28 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.169e-05/0.3281, allocations: 158.5 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.3282, allocations: 83.22 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.3282, allocations: 83.31 kB / 1.059 GB, free: 1.371 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.0001238/0.3284, allocations: 256.7 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.3284, allocations: 116.9 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.3285, allocations: 104.1 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/0.3286, allocations: 180.3 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.058e-05/0.3286, allocations: 192.2 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-05/0.3287, allocations: 176.3 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.329, allocations: 401.2 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.329, allocations: 101 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.3291, allocations: 112.9 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-05/0.3291, allocations: 184.2 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.3292, allocations: 176.3 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.559e-05/0.3293, allocations: 180.2 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.687e-05/0.3293, allocations: 184.3 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.3295, allocations: 307.8 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.3296, allocations: 186 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.3297, allocations: 184.2 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.3297, allocations: 105 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.3298, allocations: 184.2 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.3299, allocations: 104.9 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.074e-05/0.3299, allocations: 79.28 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3299, allocations: 4 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003308/0.3303, allocations: 39.98 kB / 1.063 GB, free: 13.67 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.0005691/0.3308, allocations: 321.5 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.229e-05/0.3309, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3309, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.3309, allocations: 7.938 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3313, allocations: 0.5318 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.3316, allocations: 192.1 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3319, allocations: 0.6692 MB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.332, allocations: 7.438 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.332, allocations: 4 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.003106/0.3351, allocations: 1.144 MB / 1.065 GB, free: 10.77 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/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