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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 109.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 195.6 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 67.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.099, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002342/1.101, allocations: 1.239 MB / 1.264 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001571/1.103, allocations: 1.008 MB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/1.103, allocations: 0 / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/1.103, allocations: 4 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004716/1.103, allocations: 111.1 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/1.103, allocations: 0.7188 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/1.103, allocations: 6.266 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/1.103, allocations: 1.328 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/1.104, allocations: 8.734 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/1.104, allocations: 3.859 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/1.104, allocations: 0 / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/1.104, allocations: 117.3 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-06/1.104, allocations: 0.75 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/1.104, allocations: 16.7 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/1.104, allocations: 109.3 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.104, allocations: 1.391 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.104, allocations: 0 / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.104, allocations: 0 / 1.265 GB, free: 6.27 MB / 0.9981 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.0002997/1.105, allocations: 343.4 kB / 1.265 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.105, allocations: 9.766 kB / 1.265 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/1.105, allocations: 76.91 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.105, allocations: 242 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.105, allocations: 156.6 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/1.105, allocations: 155.8 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.284e-05/1.105, allocations: 109.8 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.105, allocations: 79.22 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/1.105, allocations: 151.9 kB / 1.266 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.105, allocations: 154.6 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/1.105, allocations: 151.2 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/1.105, allocations: 449.8 kB / 1.267 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.77e-05/1.105, allocations: 170.6 kB / 1.267 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/1.105, allocations: 88.88 kB / 1.267 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/1.105, allocations: 76.09 kB / 1.267 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/1.105, allocations: 115.2 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.105, allocations: 0 / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.604e-05/1.105, allocations: 28.31 kB / 1.268 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/1.105, allocations: 127.3 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/1.105, allocations: 102.6 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/1.105, allocations: 26.58 kB / 1.268 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/1.105, allocations: 80.14 kB / 1.268 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/1.105, allocations: 0.75 kB / 1.268 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/1.105, allocations: 11.39 kB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.106, allocations: 316.5 kB / 1.268 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-06/1.106, allocations: 0 / 1.268 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-06/1.106, allocations: 0.75 kB / 1.268 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.493e-05/1.106, allocations: 80.25 kB / 1.268 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.106, allocations: 76.03 kB / 1.268 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.478e-05/1.106, allocations: 32.69 kB / 1.268 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.106, allocations: 80.94 kB / 1.268 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.106, allocations: 80.3 kB / 1.269 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/1.106, allocations: 156.1 kB / 1.269 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-06/1.106, allocations: 80.66 kB / 1.269 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/1.106, allocations: 157.2 kB / 1.269 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/1.106, allocations: 79.28 kB / 1.269 GB, free: 18.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/1.106, allocations: 81.78 kB / 1.269 GB, free: 18.07 MB / 1.014 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.000153/1.106, allocations: 257.9 kB / 1.269 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/1.106, allocations: 110.8 kB / 1.269 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/1.106, allocations: 118.5 kB / 1.27 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.651e-05/1.106, allocations: 177.8 kB / 1.27 GB, free: 17.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001708/1.107, allocations: 181.8 kB / 1.27 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/1.107, allocations: 182.2 kB / 1.27 GB, free: 17.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/1.107, allocations: 401.6 kB / 1.27 GB, free: 16.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/1.107, allocations: 106.6 kB / 1.271 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/1.107, allocations: 113.9 kB / 1.271 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.19e-05/1.107, allocations: 177.8 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/1.107, allocations: 182.5 kB / 1.271 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.989e-05/1.107, allocations: 177.8 kB / 1.271 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.214e-05/1.107, allocations: 185.7 kB / 1.271 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.108, allocations: 305.2 kB / 1.272 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.108, allocations: 188.6 kB / 1.272 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/1.108, allocations: 179.1 kB / 1.272 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/1.108, allocations: 106.4 kB / 1.272 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/1.108, allocations: 177.4 kB / 1.272 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/1.108, allocations: 118.3 kB / 1.272 GB, free: 14.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.911e-05/1.108, allocations: 82.05 kB / 1.272 GB, free: 14.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.108, allocations: 0.6875 kB / 1.272 GB, free: 14.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003954/1.109, allocations: 39.52 kB / 1.272 GB, free: 14.42 MB / 1.014 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.0006443/1.109, allocations: 313.5 kB / 1.273 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.127e-05/1.109, allocations: 1.516 kB / 1.273 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.109, allocations: 4 kB / 1.273 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/1.109, allocations: 1 kB / 1.273 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/1.11, allocations: 460.7 kB / 1.273 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/1.11, allocations: 191.5 kB / 1.273 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/1.11, allocations: 0.6794 MB / 1.274 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/1.11, allocations: 12.44 kB / 1.274 GB, free: 12.83 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/1.11, allocations: 0 / 1.274 GB, free: 12.83 MB / 1.014 GB Notification: Performance of Templates: time 0.003907/1.114, allocations: 1.157 MB / 1.275 GB, free: 12.71 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.603006611112505]